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:
@@ -154,7 +154,7 @@ pub fn write_collections<S: AsRef<str>>(
|
||||
}
|
||||
|
||||
let new_string = write_vdf_collection_to_string(
|
||||
&path.clone().to_string_lossy(),
|
||||
path.clone().to_string_lossy(),
|
||||
&vdf_collections,
|
||||
);
|
||||
if let Some(new_string) = new_string {
|
||||
|
||||
@@ -49,7 +49,7 @@ pub fn ensure_steam_started(_settings: &super::SteamSettings) {
|
||||
if processes.next().is_none() {
|
||||
//no steam, we need to start it
|
||||
println!("Starting steam");
|
||||
let mut command = Command::new(&steam_name);
|
||||
let mut command = Command::new(steam_name);
|
||||
if let Err(e) = command.spawn() {
|
||||
println!("Failed to start steam: {:?}", e);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user