chore(clippy): make clippy happy (#1475)
This commit is contained in:
parent
7566c3d71e
commit
98e6288036
|
@ -1620,10 +1620,9 @@ fn can_compile_model_checker_sample() {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn remove_solc_if_exists(version: &Version) {
|
fn remove_solc_if_exists(version: &Version) {
|
||||||
match Solc::find_svm_installed_version(version.to_string()).unwrap() {
|
if Solc::find_svm_installed_version(version.to_string()).unwrap().is_some() {
|
||||||
Some(_) => svm::remove_version(version).expect("failed to remove version"),
|
svm::remove_version(version).expect("failed to remove version")
|
||||||
None => {}
|
}
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tokio::test(flavor = "multi_thread")]
|
#[tokio::test(flavor = "multi_thread")]
|
||||||
|
|
Loading…
Reference in New Issue