Skip to content

Commit 6e9d217

Browse files
committed
Silence Clippy warning
In newer version of Rust, Clippy complains about us potentially leaking a process in our test code. The code is working exactly as intended, so silence the warning.
1 parent d18516d commit 6e9d217

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tty/linux.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ mod tests {
157157
return;
158158
}
159159

160+
#[allow(clippy::zombie_processes)]
160161
fn test(stdin: process::Stdio, redirection: &str) {
161162
let mut child = process::Command::new("sh")
162163
.stdin(stdin)

0 commit comments

Comments
 (0)