We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53cee86 + 2ae71a9 commit 2316f8cCopy full SHA for 2316f8c
xtask/src/lib.rs
@@ -109,11 +109,8 @@ fn install_clippy() -> Result<()> {
109
110
pub fn run_fuzzer() -> Result<()> {
111
let _d = pushd("./crates/ra_syntax");
112
- match run!("cargo fuzz --help") {
113
- Ok(_) => (),
114
- _ => {
115
- run!("cargo install cargo-fuzz")?;
116
- }
+ if run!("cargo fuzz --help").is_err() {
+ run!("cargo install cargo-fuzz")?;
117
};
118
119
run!("rustup run nightly -- cargo fuzz run parser")?;
0 commit comments