Skip to content

Commit fda2f73

Browse files
committed
fix link on std::result::Result
The link is broken here: <https://doc.rust-lang.org/std/io/#types>. Looks like crate documentation generator uses only first paragraph of the module documentation and so doesn't resolve the link defined below.
1 parent ec4362d commit fda2f73

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/libstd/io/error.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ use option::Option::{self, Some, None};
1717
use result;
1818
use sys;
1919

20-
/// A specialized [`Result`][result] type for I/O operations.
21-
///
22-
/// [result]: ../result/enum.Result.html
20+
/// A specialized [`Result`](../result/enum.Result.html) type for I/O
21+
/// operations.
2322
///
2423
/// This type is broadly used across `std::io` for any operation which may
2524
/// produce an error.

0 commit comments

Comments
 (0)