clippy: All the struct fields are matched to a wildcard pattern, consider using ..

This commit is contained in:
Graham Christensen 2019-01-01 21:39:23 -05:00
parent 1ceae29453
commit 0c0cf89dbd
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ impl Operation {
Operation::Build => Command::new("nix-build"),
Operation::QueryPackagesJSON => Command::new("nix-env"),
Operation::QueryPackagesOutputs => Command::new("nix-env"),
Operation::NoOp { operation: _ } => Command::new("echo"),
Operation::NoOp { .. } => Command::new("echo"),
Operation::Unknown { ref program } => Command::new(program),
}
}

View file

@ -94,7 +94,7 @@ fn result_to_check(result: &LegacyBuildResult, timestamp: DateTime<Utc>) -> Chec
BuildStatus::Success => Conclusion::Success,
BuildStatus::Failure => Conclusion::Neutral,
BuildStatus::TimedOut => Conclusion::Neutral,
BuildStatus::UnexpectedError { err: _ } => Conclusion::Neutral,
BuildStatus::UnexpectedError { .. } => Conclusion::Neutral,
};
let mut summary: Vec<String> = vec![];