mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 14:03:42 +02:00
Clippy fixes (#309)
* Automatic clippy fixes * Manual clippy corrections
This commit is contained in:
@@ -68,6 +68,6 @@ fn get_search_map() -> SearchMap {
|
||||
fn save_search_map(search_map: &SearchMap) {
|
||||
let string = serde_json::to_string(search_map).unwrap();
|
||||
let path = get_cache_file();
|
||||
let mut file = File::create(&path).unwrap();
|
||||
let mut file = File::create(path).unwrap();
|
||||
file.write_all(string.as_bytes()).unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user