mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Fix cargo clippy warnings
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
|
||||
fn save_shortcuts(shortcuts: &Vec<Shortcut>, path: &Path) {
|
||||
let new_content = shortcuts_to_bytes(shortcuts);
|
||||
let mut file = File::create(path).unwrap();
|
||||
file.write(new_content.as_slice()).unwrap();
|
||||
file.write_all(new_content.as_slice()).unwrap();
|
||||
}
|
||||
|
||||
fn update_platform_shortcuts<P, T, E>(platform: &P, current_shortcuts: &mut Vec<ShortcutOwned>)
|
||||
|
||||
Reference in New Issue
Block a user