process: Add must_use annotations to all futures

This commit is contained in:
Ivan Petkov
2019-06-24 16:56:50 -07:00
parent 914b803429
commit 34e71fa71a
3 changed files with 6 additions and 0 deletions
+1
View File
@@ -40,6 +40,7 @@ use std::fmt;
use tokio_io::IoFuture;
use tokio_core::reactor::{Handle, PollEvented};
#[must_use = "futures do nothing unless polled"]
pub struct Child {
inner: process::Child,
reaped: bool,