mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +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
|
||||
/// captured
|
||||
/// captured.
|
||||
pub fn stdin(&mut self) -> &mut Option<ChildStdin> {
|
||||
&mut self.stdin
|
||||
}
|
||||
|
||||
/// Returns a handle for writing to the child's stdout, if it has been
|
||||
/// captured
|
||||
/// Returns a handle for reading from the child's stdout, if it has been
|
||||
/// captured.
|
||||
pub fn stdout(&mut self) -> &mut Option<ChildStdout> {
|
||||
&mut self.stdout
|
||||
}
|
||||
|
||||
/// Returns a handle for writing to the child's stderr, if it has been
|
||||
/// captured
|
||||
/// Returns a handle for reading from the child's stderr, if it has been
|
||||
/// captured.
|
||||
pub fn stderr(&mut self) -> &mut Option<ChildStderr> {
|
||||
&mut self.stderr
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user