Skip to content

Commit bb780bb

Browse files
committed
remove unused any cfg
1 parent 8296d35 commit bb780bb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/reaper/wait.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ impl ChildGuard {
134134
}
135135

136136
cfg_if::cfg_if! {
137-
if #[cfg(any(target_os = "linux"))] {
137+
if #[cfg(target_os = "linux")] {
138138
use async_io::Async;
139139
use rustix::process;
140140
use std::os::unix::io::OwnedFd;
@@ -244,7 +244,6 @@ cfg_if::cfg_if! {
244244
)))?
245245
};
246246

247-
248247
Ok(Self {
249248
handle: exit_filter,
250249
child: child,
@@ -272,5 +271,4 @@ cfg_if::cfg_if! {
272271
true
273272
}
274273
}
275-
276274
}

0 commit comments

Comments
 (0)