summaryrefslogtreecommitdiffstats
path: root/tokio/src/process
diff options
context:
space:
mode:
authorArtem Vorotnikov <artem@vorotnikov.me>2020-01-15 02:12:08 +0300
committerCarl Lerche <me@carllerche.com>2020-01-14 15:12:08 -0800
commitbd8971cd95b2c182c16d8bfc5ee43754ee4e9c96 (patch)
tree0dca16994860cf2e411531c4944a85fe6b914060 /tokio/src/process
parenteb1a8e1792b2c4b296be47a0681421c90bbdbf7a (diff)
chore: clippy fixes (#2110)
Diffstat (limited to 'tokio/src/process')
-rw-r--r--tokio/src/process/windows.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/process/windows.rs b/tokio/src/process/windows.rs
index 54330e36..cbe2fa75 100644
--- a/tokio/src/process/windows.rs
+++ b/tokio/src/process/windows.rs
@@ -107,11 +107,11 @@ impl Future for Child {
Poll::Pending => return Poll::Pending,
}
let status = try_wait(&inner.child)?.expect("not ready yet");
- return Poll::Ready(Ok(status.into()));
+ return Poll::Ready(Ok(status));
}
if let Some(e) = try_wait(&inner.child)? {
- return Poll::Ready(Ok(e.into()));
+ return Poll::Ready(Ok(e));
}
let (tx, rx) = oneshot::channel();
let ptr = Box::into_raw(Box::new(Some(tx)));