lanzatool: apply rustfmt to install.rs

This commit is contained in:
Julian Stecklina 2022-12-28 23:51:51 +01:00
parent f07618b64c
commit f6ae373500
1 changed files with 3 additions and 4 deletions

View File

@ -36,9 +36,8 @@ impl Installer {
pub fn install(&self) -> Result<()> { pub fn install(&self) -> Result<()> {
for toplevel in &self.generations { for toplevel in &self.generations {
let generation_result = Generation::from_toplevel(toplevel).with_context(|| { let generation_result = Generation::from_toplevel(toplevel)
format!("Failed to build generation from toplevel: {toplevel:?}") .with_context(|| format!("Failed to build generation from toplevel: {toplevel:?}"));
});
let generation = match generation_result { let generation = match generation_result {
Ok(generation) => generation, Ok(generation) => generation,