We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d54aee commit 541d6adCopy full SHA for 541d6ad
src/reaper/wait.rs
@@ -132,7 +132,7 @@ impl ChildGuard {
132
}
133
134
cfg_if::cfg_if! {
135
- if #[cfg(any(target_os = "linux"))] {
+ if #[cfg(target_os = "linux")] {
136
use async_io::Async;
137
use rustix::process;
138
use std::os::unix::io::OwnedFd;
@@ -242,7 +242,6 @@ cfg_if::cfg_if! {
242
)))?
243
};
244
245
-
246
Ok(Self {
247
handle: exit_filter,
248
child: child,
@@ -270,5 +269,4 @@ cfg_if::cfg_if! {
270
269
true
271
272
273
274
0 commit comments