mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
process: Add must_use annotations to all futures
This commit is contained in:
@@ -31,6 +31,7 @@ use futures::future::Fuse;
|
||||
use self::mio_named_pipes::NamedPipe;
|
||||
use tokio_core::reactor::{PollEvented, Handle};
|
||||
|
||||
#[must_use = "futures do nothing unless polled"]
|
||||
pub struct Child {
|
||||
child: process::Child,
|
||||
waiting: Option<Waiting>,
|
||||
|
||||
Reference in New Issue
Block a user