Skip to content

Commit

Permalink
fix link on std::result::Result
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rutsky committed Oct 13, 2015
1 parent ec4362d commit fda2f73
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/libstd/io/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ use option::Option::{self, Some, None};
use result;
use sys;

/// A specialized [`Result`][result] type for I/O operations.
///
/// [result]: ../result/enum.Result.html
/// A specialized [`Result`](../result/enum.Result.html) type for I/O
/// operations.
///
/// This type is broadly used across `std::io` for any operation which may
/// produce an error.
Expand Down

0 comments on commit fda2f73

Please sign in to comment.