mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
process: fix typo in process::imp::Pipe comment (#5314)
Signed-off-by: Changyuan Lyu <[email protected]>
This commit is contained in:
@@ -156,7 +156,7 @@ impl Future for Child {
|
|||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub(crate) struct Pipe {
|
pub(crate) struct Pipe {
|
||||||
// Actually a pipe and not a File. However, we are reusing `File` to get
|
// Actually a pipe is not a File. However, we are reusing `File` to get
|
||||||
// close on drop. This is a similar trick as `mio`.
|
// close on drop. This is a similar trick as `mio`.
|
||||||
fd: File,
|
fd: File,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user