Skip to content

Commit a1f9052

Browse files
committed
Expand some of the std{in,out,err} usages.
1 parent a6ef99e commit a1f9052

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

src/libstd/process.rs

+14-8
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,18 @@ use sys_common::{AsInner, AsInnerMut, FromInner, IntoInner};
106106
pub struct Child {
107107
handle: imp::Process,
108108

109-
/// The handle for writing to the child's stdin, if it has been captured
109+
/// The handle for writing to the child's standard input (stdin), if it has
110+
/// been captured.
110111
#[stable(feature = "process", since = "1.0.0")]
111112
pub stdin: Option<ChildStdin>,
112113

113-
/// The handle for reading from the child's stdout, if it has been captured
114+
/// The handle for reading from the child's standard output (stdout), if it
115+
/// has been captured.
114116
#[stable(feature = "process", since = "1.0.0")]
115117
pub stdout: Option<ChildStdout>,
116118

117-
/// The handle for reading from the child's stderr, if it has been captured
119+
/// The handle for reading from the child's standard error (stderr), if it
120+
/// has been captured.
118121
#[stable(feature = "process", since = "1.0.0")]
119122
pub stderr: Option<ChildStderr>,
120123
}
@@ -149,7 +152,7 @@ impl fmt::Debug for Child {
149152
}
150153
}
151154

152-
/// A handle to a child process's stdin.
155+
/// A handle to a child process's standard input (stdin).
153156
///
154157
/// This struct is used in the [`stdin`] field on [`Child`].
155158
///
@@ -196,7 +199,7 @@ impl fmt::Debug for ChildStdin {
196199
}
197200
}
198201

199-
/// A handle to a child process's stdout.
202+
/// A handle to a child process's standard output (stdout).
200203
///
201204
/// This struct is used in the [`stdout`] field on [`Child`].
202205
///
@@ -546,7 +549,8 @@ impl Command {
546549
self
547550
}
548551

549-
/// Configuration for the child process's stdin handle (file descriptor 0).
552+
/// Configuration for the child process's standard input (stdin) handle
553+
/// (file descriptor 0).
550554
///
551555
/// # Examples
552556
///
@@ -566,7 +570,8 @@ impl Command {
566570
self
567571
}
568572

569-
/// Configuration for the child process's stdout handle (file descriptor 1).
573+
/// Configuration for the child process's standard output (stdout) handle
574+
/// (file descriptor 1).
570575
///
571576
/// # Examples
572577
///
@@ -586,7 +591,8 @@ impl Command {
586591
self
587592
}
588593

589-
/// Configuration for the child process's stderr handle (file descriptor 2).
594+
/// Configuration for the child process's standard error (stderr) handle
595+
/// (file descriptor 2).
590596
///
591597
/// # Examples
592598
///

0 commit comments

Comments
 (0)