mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-28 00:00:11 +02:00
process: Add must_use annotations to all futures
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user