Skip to content

Commit 21283da

Browse files
authored
Rollup merge of #82243 - pickfire:patch-5, r=jyn514
Add more intra-doc links to std::io
2 parents ce6367f + 250eeb4 commit 21283da

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

library/std/src/io/stdio.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ pub struct Stdin {
231231
inner: &'static Mutex<BufReader<StdinRaw>>,
232232
}
233233

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

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

711-
/// A locked reference to the `Stderr` handle.
711+
/// A locked reference to the [`Stderr`] handle.
712712
///
713-
/// This handle implements the `Write` trait and is constructed via
713+
/// This handle implements the [`Write`] trait and is constructed via
714714
/// the [`Stderr::lock`] method.
715715
///
716716
/// ### Note: Windows Portability Consideration

0 commit comments

Comments
 (0)