mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
docs: fix wording in tokio_process::Child documentation (#1502)
Fixes: #1494
This commit is contained in:
parent
9c31797a08
commit
de9f05d4d3
@ -663,19 +663,19 @@ impl Child {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a handle for writing to the child's stdin, if it has been
|
/// Returns a handle for writing to the child's stdin, if it has been
|
||||||
/// captured
|
/// captured.
|
||||||
pub fn stdin(&mut self) -> &mut Option<ChildStdin> {
|
pub fn stdin(&mut self) -> &mut Option<ChildStdin> {
|
||||||
&mut self.stdin
|
&mut self.stdin
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a handle for writing to the child's stdout, if it has been
|
/// Returns a handle for reading from the child's stdout, if it has been
|
||||||
/// captured
|
/// captured.
|
||||||
pub fn stdout(&mut self) -> &mut Option<ChildStdout> {
|
pub fn stdout(&mut self) -> &mut Option<ChildStdout> {
|
||||||
&mut self.stdout
|
&mut self.stdout
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns a handle for writing to the child's stderr, if it has been
|
/// Returns a handle for reading from the child's stderr, if it has been
|
||||||
/// captured
|
/// captured.
|
||||||
pub fn stderr(&mut self) -> &mut Option<ChildStderr> {
|
pub fn stderr(&mut self) -> &mut Option<ChildStderr> {
|
||||||
&mut self.stderr
|
&mut self.stderr
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user