]> git.lizzy.rs Git - rust.git/commitdiff
Use `Child::std{in,out,err}` instead of `Child.`
authorCamelid <camelidcamel@gmail.com>
Wed, 12 Aug 2020 03:10:41 +0000 (20:10 -0700)
committerCamelid <camelidcamel@gmail.com>
Wed, 12 Aug 2020 03:10:41 +0000 (20:10 -0700)
These links were broken before.

library/std/src/process.rs

index 37f6755597a93e0d596b660b5e3c4da066c1e6d0..f6555a175e810dba137e64fa40524fcc6fedf143 100644 (file)
@@ -215,7 +215,7 @@ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
 /// file handle will be closed. If the child process was blocked on input prior
 /// to being dropped, it will become unblocked after dropping.
 ///
-/// [`stdin`]: crate::process::Child.stdin
+/// [`stdin`]: Child::stdin
 /// [dropped]: Drop
 #[stable(feature = "process", since = "1.0.0")]
 pub struct ChildStdin {
@@ -273,7 +273,7 @@ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
 /// When an instance of `ChildStdout` is [dropped], the `ChildStdout`'s
 /// underlying file handle will be closed.
 ///
-/// [`stdout`]: crate::process::Child.stdout
+/// [`stdout`]: Child::stdout
 /// [dropped]: Drop
 #[stable(feature = "process", since = "1.0.0")]
 pub struct ChildStdout {
@@ -333,7 +333,7 @@ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
 /// When an instance of `ChildStderr` is [dropped], the `ChildStderr`'s
 /// underlying file handle will be closed.
 ///
-/// [`stderr`]: crate::process::Child.stderr
+/// [`stderr`]: Child::stderr
 /// [dropped]: Drop
 #[stable(feature = "process", since = "1.0.0")]
 pub struct ChildStderr {