clippy: identical conversion
This commit is contained in:
parent
f2a0ca259e
commit
91e23d101e
|
@ -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<String> {
|
||||
BufReader::new(file)
|
||||
.lines()
|
||||
.into_iter()
|
||||
.filter(|line| line.is_ok())
|
||||
.map(|line| line.unwrap())
|
||||
.collect()
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue