Skip to content

Commit

Permalink
Add missing "see its documentation for more" stdio
Browse files Browse the repository at this point in the history
StdoutLock and StderrLock does not have example, it would be better
to leave "see its documentation for more" like iter docs.
  • Loading branch information
pickfire committed Feb 22, 2021
1 parent 352238d commit bff4e93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/std/src/io/stdio.rs
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bff4e93

Please sign in to comment.