Skip to content

Commit ff457f0

Browse files
Add some missing links in io docs
1 parent 325ba23 commit ff457f0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/libstd/io/util.rs

+6-4
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,18 @@ pub fn copy<R: ?Sized, W: ?Sized>(reader: &mut R, writer: &mut W) -> io::Result<
6969

7070
/// A reader which is always at EOF.
7171
///
72-
/// This struct is generally created by calling [`empty`][empty]. Please see
73-
/// the documentation of `empty()` for more details.
72+
/// This struct is generally created by calling [`empty`]. Please see
73+
/// the documentation of [`empty()`][`empty`] for more details.
7474
///
75-
/// [empty]: fn.empty.html
75+
/// [`empty`]: fn.empty.html
7676
#[stable(feature = "rust1", since = "1.0.0")]
7777
pub struct Empty { _priv: () }
7878

7979
/// Constructs a new handle to an empty reader.
8080
///
81-
/// All reads from the returned reader will return `Ok(0)`.
81+
/// All reads from the returned reader will return [`Ok`]`(0)`.
82+
///
83+
/// [`Ok`]: ../result/enum.Result.html#variant.Ok
8284
///
8385
/// # Examples
8486
///

0 commit comments

Comments
 (0)