@@ -153,8 +153,12 @@ impl fmt::Debug for Child {
153
153
///
154
154
/// This struct is used in the [`stdin`] field on [`Child`].
155
155
///
156
+ /// When an instance of `ChildStdin` is [dropped], the `ChildStdin`'s underlying
157
+ /// file handle will be closed.
158
+ ///
156
159
/// [`Child`]: struct.Child.html
157
160
/// [`stdin`]: struct.Child.html#structfield.stdin
161
+ /// [dropped]: ../ops/trait.Drop.html
158
162
#[ stable( feature = "process" , since = "1.0.0" ) ]
159
163
pub struct ChildStdin {
160
164
inner : AnonPipe
@@ -196,8 +200,12 @@ impl fmt::Debug for ChildStdin {
196
200
///
197
201
/// This struct is used in the [`stdout`] field on [`Child`].
198
202
///
203
+ /// When an instance of `ChildStdout` is [dropped], the `ChildStdout`'s
204
+ /// underlying file handle will be closed.
205
+ ///
199
206
/// [`Child`]: struct.Child.html
200
207
/// [`stdout`]: struct.Child.html#structfield.stdout
208
+ /// [dropped]: ../ops/trait.Drop.html
201
209
#[ stable( feature = "process" , since = "1.0.0" ) ]
202
210
pub struct ChildStdout {
203
211
inner : AnonPipe
@@ -239,8 +247,12 @@ impl fmt::Debug for ChildStdout {
239
247
///
240
248
/// This struct is used in the [`stderr`] field on [`Child`].
241
249
///
250
+ /// When an instance of `ChildStderr` is [dropped], the `ChildStderr`'s
251
+ /// underlying file handle will be closed.
252
+ ///
242
253
/// [`Child`]: struct.Child.html
243
254
/// [`stderr`]: struct.Child.html#structfield.stderr
255
+ /// [dropped]: ../ops/trait.Drop.html
244
256
#[ stable( feature = "process" , since = "1.0.0" ) ]
245
257
pub struct ChildStderr {
246
258
inner : AnonPipe
0 commit comments