address latest clippy warnings (#679)

This commit is contained in:
bmc-msft
2021-03-17 11:13:43 -04:00
committed by GitHub
parent f62cc3b365
commit cd6621bb89
4 changed files with 17 additions and 14 deletions

View File

@ -260,7 +260,7 @@ mod tests {
let runtime_dir = tempfile::tempdir().unwrap();
let supervisor_exe = if let Ok(x) = env::var("ONEFUZZ_TEST_AFL_LINUX_FUZZER") {
x.into()
x
} else {
warn!("Unable to test AFL integration");
return;

View File

@ -100,9 +100,7 @@ fn url_input_name(url: &Url) -> String {
}
fn fixture() -> InputPoller<Msg> {
let task = InputPoller::new();
task
InputPoller::new()
}
fn url_fixture(msg: Msg) -> Url {