about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2021-02-18 09:58:15 +0800
committerGitHub <noreply@github.com>2021-02-18 09:58:15 +0800
commit250eeb4c3c00b7831226cf5266aacb5fca1e13f3 (patch)
tree0b385eac269540cac2708e5b4549401716dcd824 /library/std/src
parent93f6a4b9d85b7eef71e17d95c113f5834238b574 (diff)
downloadrust-250eeb4c3c00b7831226cf5266aacb5fca1e13f3.tar.gz
rust-250eeb4c3c00b7831226cf5266aacb5fca1e13f3.zip
Add missing link from stdio doc
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/io/stdio.rs8
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