summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorDylan Maccora <maccora17@gmail.com>2017-05-20 08:32:10 +1000
committerDylan Maccora <maccora17@gmail.com>2017-05-20 08:32:10 +1000
commitb69b6413afc770a8652096e8753d77eeb99b23bb (patch)
tree0aa1214a909b88e0ec346ec3eeeb92d431330f65 /src/libstd
parentfb195600541c67f91cd6aed5c1d00aa4668ad9c3 (diff)
downloadrust-b69b6413afc770a8652096e8753d77eeb99b23bb.tar.gz
rust-b69b6413afc770a8652096e8753d77eeb99b23bb.zip
Fixed link issue.
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/env.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/env.rs b/src/libstd/env.rs
index 061525205ef..40ed5b5e1c0 100644
--- a/src/libstd/env.rs
+++ b/src/libstd/env.rs
@@ -425,13 +425,13 @@ pub struct JoinPathsError {
 ///
 /// # Errors
 ///
-/// Returns an [`Err`] (containing an error message) if one of the input
+/// Returns an [`Err`][err] (containing an error message) if one of the input
 /// [`Path`]s contains an invalid character for constructing the `PATH`
 /// variable (a double quote on Windows or a colon on Unix).
 ///
 /// [`Path`]: ../../std/path/struct.Path.html
 /// [`OsString`]: ../../std/ffi/struct.OsString.html
-/// [`Err`]: ../../std/result/enum.Result.html#variant.Err
+/// [err]: ../../std/result/enum.Result.html#variant.Err
 ///
 /// # Examples
 ///