From b69b6413afc770a8652096e8753d77eeb99b23bb Mon Sep 17 00:00:00 2001 From: Dylan Maccora Date: Sat, 20 May 2017 08:32:10 +1000 Subject: [PATCH] Fixed link issue. --- src/libstd/env.rs | 4 ++-- 1 file 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 ///