mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-24 15:54:00 +00:00
chore: satisfy clippy::collapsible_else_if
This commit is contained in:
parent
9972d2c18a
commit
4c8350864c
@ -18,12 +18,10 @@ pub fn run_tests(shell: Shell, mut args: Arguments) -> anyhow::Result<()> {
|
||||
};
|
||||
let llvm_cov_nextest_flags: &[_] = if llvm_cov {
|
||||
&["llvm-cov", "--no-cfg-coverage", "--no-report", "nextest"]
|
||||
} else if list {
|
||||
&["nextest", "list"]
|
||||
} else {
|
||||
if list {
|
||||
&["nextest", "list"]
|
||||
} else {
|
||||
&["nextest", "run"]
|
||||
}
|
||||
&["nextest", "run"]
|
||||
};
|
||||
|
||||
log::info!("Generating .gpuconfig file based on gpus on the system");
|
||||
|
Loading…
Reference in New Issue
Block a user