about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorTomasz Różański <rosto@tlen.pl>2019-09-11 14:03:40 +0200
committerTomasz Różański <rosto@tlen.pl>2019-09-11 14:03:40 +0200
commita8c5f90b06c9bf2bfa2c2f4aedd7c395cb92195d (patch)
treee7b563514775aa04f9da8c51f47970513bc93d38 /src/libstd
parent74d5c70b174f06843049af2d764ff57ddc81c81c (diff)
downloadrust-a8c5f90b06c9bf2bfa2c2f4aedd7c395cb92195d.tar.gz
rust-a8c5f90b06c9bf2bfa2c2f4aedd7c395cb92195d.zip
Fix inconsistent link formatting.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/stdio.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/io/stdio.rs b/src/libstd/io/stdio.rs
index 990c0eb8955..c798ee0e220 100644
--- a/src/libstd/io/stdio.rs
+++ b/src/libstd/io/stdio.rs
@@ -201,9 +201,9 @@ pub struct StdinLock<'a> {
 ///
 /// Each handle returned is a reference to a shared global buffer whose access
 /// is synchronized via a mutex. If you need more explicit control over
-/// locking, see the [`lock() method`][lock].
+/// locking, see the [`Stdin::lock`] method.
 ///
-/// [lock]: struct.Stdin.html#method.lock
+/// [`Stdin::lock`]: struct.Stdin.html#method.lock
 ///
 /// ### Note: Windows Portability Consideration
 /// When operating in a console, the Windows implementation of this stream does not support
@@ -425,9 +425,9 @@ pub struct StdoutLock<'a> {
 ///
 /// Each handle returned is a reference to a shared global buffer whose access
 /// is synchronized via a mutex. If you need more explicit control over
-/// locking, see the [Stdout::lock] method.
+/// locking, see the [`Stdout::lock`] method.
 ///
-/// [Stdout::lock]: struct.Stdout.html#method.lock
+/// [`Stdout::lock`]: struct.Stdout.html#method.lock
 ///
 /// ### Note: Windows Portability Consideration
 /// When operating in a console, the Windows implementation of this stream does not support