Try to restore cargo fmt

This commit is contained in:
Roey Darwish Dror
2018-12-11 16:00:19 +02:00
parent 4c1d26e120
commit f23b6435bf
14 changed files with 84 additions and 46 deletions

View File

@@ -18,7 +18,8 @@ pub fn run_chocolatey(dry_run: bool) -> Option<(&'static str, bool)> {
.wait()?
.check()?;
Ok(())
}().is_ok();
}()
.is_ok();
return Some(("Chocolatey", success));
}
@@ -43,7 +44,8 @@ pub fn run_scoop(dry_run: bool) -> Option<(&'static str, bool)> {
.wait()?
.check()?;
Ok(())
}().is_ok();
}()
.is_ok();
return Some(("Scoop", success));
}
@@ -69,7 +71,8 @@ impl Powershell {
.output()?
.check()?;
Ok(())
}().is_ok()
}()
.is_ok()
}
pub fn profile(&self) -> Option<PathBuf> {
@@ -102,7 +105,8 @@ impl Powershell {
.wait()?
.check()?;
Ok(())
}().is_ok();
}()
.is_ok();
return Some(("Powershell Modules Update", success));
}
@@ -123,7 +127,8 @@ impl Powershell {
.wait()?
.check()?;
Ok(())
}().is_ok();
}()
.is_ok();
return Some(("Windows Update", success));
}