Skip to content

Commit 541d6ad

Browse files
committed
remove unused any cfg
1 parent 9d54aee commit 541d6ad

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
@@ -132,7 +132,7 @@ impl ChildGuard {
132132
}
133133

134134
cfg_if::cfg_if! {
135-
if #[cfg(any(target_os = "linux"))] {
135+
if #[cfg(target_os = "linux")] {
136136
use async_io::Async;
137137
use rustix::process;
138138
use std::os::unix::io::OwnedFd;
@@ -242,7 +242,6 @@ cfg_if::cfg_if! {
242242
)))?
243243
};
244244

245-
246245
Ok(Self {
247246
handle: exit_filter,
248247
child: child,
@@ -270,5 +269,4 @@ cfg_if::cfg_if! {
270269
true
271270
}
272271
}
273-
274272
}

0 commit comments

Comments
 (0)