Apply clippy lints
This commit is contained in:
parent
305d1e3f53
commit
7217ce8bc1
@ -125,13 +125,13 @@ impl SimpleComponent for SheetListingModel {
|
||||
|
||||
let model = SheetListingModel {
|
||||
query: String::new(),
|
||||
sheet_models: sheet_models,
|
||||
sheet_models,
|
||||
};
|
||||
let widgets = view_output!();
|
||||
ComponentParts { model, widgets }
|
||||
}
|
||||
|
||||
fn update(&mut self, message: Self::Input, sender: ComponentSender<Self>) {
|
||||
fn update(&mut self, message: Self::Input, _sender: ComponentSender<Self>) {
|
||||
self.query = message.query;
|
||||
for model in self.sheet_models.iter() {
|
||||
model.emit(SheetModelInput::SearchChanged(self.query.clone()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user