docs: fix wording in tokio_process::Child documentation (#1502)

Fixes: #1494
This commit is contained in:
Jakub Beránek
2019-08-28 11:56:42 -04:00
committed by Lucio Franco
parent 9c31797a08
commit de9f05d4d3
+5 -5
View File
@@ -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
}