gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 231Rust 10TOML 3CSS 1348 Sutichaykuna

Remove clippy lint ignores (#725)

01539475b49f4afd14bbf4dea77304be89c4aace · ruwaq Nico Burns · (2 wata ñawpaq) · tayta 7f8ec509b · kay commitpi sach'ata qhaway

Semántico sayk'uy · 1

scripts/gentest/src/main.rs

  • ukhunpi t'ikrakurqan fn main

1 qillqakuna · +1 −6

diff --git a/scripts/gentest/src/main.rs b/scripts/gentest/src/main.rs
index 588cb54b7..77529b812 100644
--- a/scripts/gentest/src/main.rs
+++ b/scripts/gentest/src/main.rs
@@ -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};
@@ -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()
@@ -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...");