diff --git a/ofborg/src/nix.rs b/ofborg/src/nix.rs index d396b7e..9070d74 100644 --- a/ofborg/src/nix.rs +++ b/ofborg/src/nix.rs @@ -210,7 +210,7 @@ impl Nix { Stdio::null() }; - let status = cmd.stdout(Stdio::from(stdout)) + let status = cmd.stdout(stdout) .stderr(Stdio::from(stderr)) .status() .expect("Running a program ..."); @@ -275,7 +275,6 @@ impl Nix { fn lines_from_file(file: File) -> Vec { BufReader::new(file) .lines() - .into_iter() .filter(|line| line.is_ok()) .map(|line| line.unwrap()) .collect() diff --git a/ofborg/src/tagger.rs b/ofborg/src/tagger.rs index 249c497..7c0ee18 100644 --- a/ofborg/src/tagger.rs +++ b/ofborg/src/tagger.rs @@ -147,11 +147,11 @@ impl RebuildTagger { self.selected = vec![ - String::from(format!("10.rebuild-linux: {}", self.bucket(counter_linux))), - String::from(format!( + format!("10.rebuild-linux: {}", self.bucket(counter_linux)), + format!( "10.rebuild-darwin: {}", self.bucket(counter_darwin) - )), + ), ]; for tag in &self.selected {