Skip to content

Commit a8c5f90

Browse files
Fix inconsistent link formatting.
1 parent 74d5c70 commit a8c5f90

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libstd/io/stdio.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,9 @@ pub struct StdinLock<'a> {
201201
///
202202
/// Each handle returned is a reference to a shared global buffer whose access
203203
/// is synchronized via a mutex. If you need more explicit control over
204-
/// locking, see the [`lock() method`][lock].
204+
/// locking, see the [`Stdin::lock`] method.
205205
///
206-
/// [lock]: struct.Stdin.html#method.lock
206+
/// [`Stdin::lock`]: struct.Stdin.html#method.lock
207207
///
208208
/// ### Note: Windows Portability Consideration
209209
/// When operating in a console, the Windows implementation of this stream does not support
@@ -425,9 +425,9 @@ pub struct StdoutLock<'a> {
425425
///
426426
/// Each handle returned is a reference to a shared global buffer whose access
427427
/// is synchronized via a mutex. If you need more explicit control over
428-
/// locking, see the [Stdout::lock] method.
428+
/// locking, see the [`Stdout::lock`] method.
429429
///
430-
/// [Stdout::lock]: struct.Stdout.html#method.lock
430+
/// [`Stdout::lock`]: struct.Stdout.html#method.lock
431431
///
432432
/// ### Note: Windows Portability Consideration
433433
/// When operating in a console, the Windows implementation of this stream does not support

0 commit comments

Comments
 (0)