mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-27 04:07:25 +01:00
Implement some Clippy suggestions
This commit is contained in:
parent
66af523d5a
commit
8d9690dad6
22 changed files with 57 additions and 69 deletions
|
|
@ -56,7 +56,7 @@ mod imp {
|
|||
self.set_program_from_settings(&settings);
|
||||
|
||||
let obj = self.obj().to_owned();
|
||||
settings.connect_changed(Some(&self.key.get().unwrap()), move |settings, _| {
|
||||
settings.connect_changed(Some(self.key.get().unwrap()), move |settings, _| {
|
||||
obj.imp().set_program_from_settings(settings);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue