From fda2f733c5ef86f7bfca4e0d61c989fea4b69fd7 Mon Sep 17 00:00:00 2001 From: Vladimir Rutsky Date: Wed, 14 Oct 2015 02:17:31 +0300 Subject: fix link on std::result::Result The link is broken here: . Looks like crate documentation generator uses only first paragraph of the module documentation and so doesn't resolve the link defined below. --- src/libstd/io/error.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/libstd') diff --git a/src/libstd/io/error.rs b/src/libstd/io/error.rs index 773f9ac6a12..121eeae9e48 100644 --- a/src/libstd/io/error.rs +++ b/src/libstd/io/error.rs @@ -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. -- cgit 1.4.1-3-g733a5 From 66b58d19bdeceba7aa3f4043fefd796f8c8b426c Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Wed, 14 Oct 2015 12:52:14 +0530 Subject: fix tidy --- src/libstd/io/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd') diff --git a/src/libstd/io/error.rs b/src/libstd/io/error.rs index 121eeae9e48..6f18aad6235 100644 --- a/src/libstd/io/error.rs +++ b/src/libstd/io/error.rs @@ -17,7 +17,7 @@ use option::Option::{self, Some, None}; use result; use sys; -/// A specialized [`Result`](../result/enum.Result.html) type for I/O +/// 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 -- cgit 1.4.1-3-g733a5