Skip to content

Commit

Permalink
Rollup merge of #82243 - pickfire:patch-5, r=jyn514
Browse files Browse the repository at this point in the history
Add more intra-doc links to std::io
  • Loading branch information
JohnTitor committed Feb 18, 2021
2 parents ce6367f + 250eeb4 commit 21283da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions library/std/src/io/stdio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ pub struct Stdin {
inner: &'static Mutex<BufReader<StdinRaw>>,
}

/// A locked reference to the `Stdin` handle.
/// A locked reference to the [`Stdin`] handle.
///
/// This handle implements both the [`Read`] and [`BufRead`] traits, and
/// is constructed via the [`Stdin::lock`] method.
Expand Down Expand Up @@ -494,7 +494,7 @@ pub struct Stdout {
inner: Pin<&'static ReentrantMutex<RefCell<LineWriter<StdoutRaw>>>>,
}

/// A locked reference to the `Stdout` handle.
/// A locked reference to the [`Stdout`] handle.
///
/// This handle implements the [`Write`] trait, and is constructed via
/// the [`Stdout::lock`] method.
Expand Down Expand Up @@ -708,9 +708,9 @@ pub struct Stderr {
inner: Pin<&'static ReentrantMutex<RefCell<StderrRaw>>>,
}

/// A locked reference to the `Stderr` handle.
/// A locked reference to the [`Stderr`] handle.
///
/// This handle implements the `Write` trait and is constructed via
/// This handle implements the [`Write`] trait and is constructed via
/// the [`Stderr::lock`] method.
///
/// ### Note: Windows Portability Consideration
Expand Down

0 comments on commit 21283da

Please sign in to comment.