From 250eeb4c3c00b7831226cf5266aacb5fca1e13f3 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Thu, 18 Feb 2021 09:58:15 +0800 Subject: [PATCH] Add missing link from stdio doc --- library/std/src/io/stdio.rs | 8 ++++---- 1 file 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>, } -/// 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>>>, } -/// 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>>, } -/// 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