Skip to content

Commit 7ea1211

Browse files
xtqqczzecakebaker
authored andcommitted
fix: unused import on redox
1 parent aa30c10 commit 7ea1211

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/uucore/src/lib/features/process.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@ impl ChildExt for Child {
169169

170170
#[cfg(test)]
171171
mod tests {
172-
use super::*;
173-
174172
#[test]
175173
#[cfg(not(target_os = "redox"))]
176174
fn test_getsid() {
175+
use super::{getpid, getsid};
176+
177177
assert_eq!(
178178
getsid(getpid()).expect("getsid(getpid)"),
179179
// zero is a special value for SID.

0 commit comments

Comments
 (0)