forked from the-distro/ofborg
clippy: All the struct fields are matched to a wildcard pattern, consider using ..
This commit is contained in:
parent
1ceae29453
commit
0c0cf89dbd
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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![];
|
||||
|
|
Loading…
Reference in a new issue