mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Fix cargo clippy suggestions
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
#[cfg(target_os = "linux")]
|
||||
mod symlinks;
|
||||
mod sync;
|
||||
mod synchronization;
|
||||
|
||||
pub use sync::run_sync;
|
||||
pub use synchronization::run_sync;
|
||||
|
||||
@@ -92,7 +92,7 @@ fn update_platforms(settings: &Settings, new_user_shortcuts: &mut Vec<ShortcutOw
|
||||
);
|
||||
}
|
||||
|
||||
fn save_shortcuts(shortcuts: &Vec<ShortcutOwned>, path: &Path) {
|
||||
fn save_shortcuts(shortcuts: &[ShortcutOwned], path: &Path) {
|
||||
let mut shortcuts_refs = vec![];
|
||||
for shortcut in shortcuts {
|
||||
shortcuts_refs.push(shortcut.borrow());
|
||||
Reference in New Issue
Block a user