diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-02-18 15:57:34 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-18 15:57:34 +0900 |
| commit | 21283dae9e239792a58ec375c80743f4f0cf3002 (patch) | |
| tree | 2e1f6fa956af5469169571ae0d1dc0df5694bf7b | |
| parent | ce6367f47988e6948db830b599d5c365dfa5f973 (diff) | |
| parent | 250eeb4c3c00b7831226cf5266aacb5fca1e13f3 (diff) | |
| download | rust-21283dae9e239792a58ec375c80743f4f0cf3002.tar.gz rust-21283dae9e239792a58ec375c80743f4f0cf3002.zip | |
Rollup merge of #82243 - pickfire:patch-5, r=jyn514
Add more intra-doc links to std::io
| -rw-r--r-- | library/std/src/io/stdio.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/std/src/io/stdio.rs b/library/std/src/io/stdio.rs index 1160011f352..e736bf19e8f 100644 --- a/library/std/src/io/stdio.rs +++ b/library/std/src/io/stdio.rs @@ -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. @@ -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. @@ -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 |
