Feel better to explictly declare the arms instead of using a match all

master
Brennon Loveless 4 years ago
parent f66d321ba9
commit fee0938c34
  1. 2
      src/wasm_opt.rs

@ -64,7 +64,7 @@ pub fn find_wasm_opt(
match path.as_path().parent() {
Some(path) => return Ok(install::Status::Found(Download::at(path))),
_ => {}
None => {}
}
}

Loading…
Cancel
Save