Skip to content

Commit

Permalink
Remove clippy lint ignores (#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns authored Oct 22, 2024
1 parent 7f8ec50 commit 0153947
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scripts/gentest/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// This is a spurious warning. See https://github.com/rust-lang/rust-clippy/issues/13535
#![allow(clippy::needless_return)]

use std::fs::{self, OpenOptions};
use std::io::Write;
use std::path::{Path, PathBuf};
Expand Down Expand Up @@ -80,9 +77,6 @@ async fn main() {

info!("starting webdriver instance");
let webdriver_url = "http://localhost:4444";

// TODO: call `.wait()` at an appropriate time (probably at the end of the process?)
#[allow(clippy::zombie_processes)]
let mut webdriver_handle = Command::new("chromedriver")
.arg("--port=4444")
.spawn()
Expand All @@ -107,6 +101,7 @@ async fn main() {

info!("killing webdriver instance...");
webdriver_handle.kill().unwrap();
webdriver_handle.wait().unwrap();

info!("generating test sources and concatenating...");

Expand Down

0 comments on commit 0153947

Please sign in to comment.