diff options
| author | Ivan Tham <pickfire@riseup.net> | 2021-02-22 18:48:32 +0800 |
|---|---|---|
| committer | Ivan Tham <pickfire@riseup.net> | 2021-02-22 18:48:32 +0800 |
| commit | bff4e937ab1aeb5961371391e67f71137ee96e0d (patch) | |
| tree | 55915d8fd455a099c790446d8e591f92ba5a47b5 | |
| parent | 352238d152b6b3f106554e75445bbdd5201671b2 (diff) | |
| download | rust-bff4e937ab1aeb5961371391e67f71137ee96e0d.tar.gz rust-bff4e937ab1aeb5961371391e67f71137ee96e0d.zip | |
Add missing "see its documentation for more" stdio
StdoutLock and StderrLock does not have example, it would be better to leave "see its documentation for more" like iter docs.
| -rw-r--r-- | library/std/src/io/stdio.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/io/stdio.rs b/library/std/src/io/stdio.rs index d1f9049c8fa..1e72c9e0611 100644 --- a/library/std/src/io/stdio.rs +++ b/library/std/src/io/stdio.rs @@ -497,7 +497,7 @@ pub struct Stdout { /// A locked reference to the [`Stdout`] handle. /// /// This handle implements the [`Write`] trait, and is constructed via -/// the [`Stdout::lock`] method. +/// the [`Stdout::lock`] method. See its documentation for more. /// /// ### Note: Windows Portability Consideration /// When operating in a console, the Windows implementation of this stream does not support @@ -711,7 +711,7 @@ pub struct Stderr { /// A locked reference to the [`Stderr`] handle. /// /// This handle implements the [`Write`] trait and is constructed via -/// the [`Stderr::lock`] method. +/// the [`Stderr::lock`] method. See its documentation for more. /// /// ### Note: Windows Portability Consideration /// When operating in a console, the Windows implementation of this stream does not support |
