From e7a72797506448b7525c963af2967356958f7e9b Mon Sep 17 00:00:00 2001 From: Ellen Date: Mon, 17 Aug 2020 15:16:00 +0100 Subject: [PATCH] Remove unnecessary links in env.rs --- library/std/src/env.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/library/std/src/env.rs b/library/std/src/env.rs index 562fdfc689a..387c588f4a0 100644 --- a/library/std/src/env.rs +++ b/library/std/src/env.rs @@ -28,8 +28,6 @@ use crate::sys::os as os_imp; /// * Current directory does not exist. /// * There are insufficient permissions to access the current directory. /// -/// [`Err`]: Result::Err -/// /// # Examples /// /// ``` @@ -50,8 +48,6 @@ pub fn current_dir() -> io::Result { /// /// Returns an [`Err`] if the operation fails. /// -/// [`Err`]: Result::Err -/// /// # Examples /// /// ``` @@ -218,8 +214,6 @@ fn _var(key: &OsStr) -> Result { /// Fetches the environment variable `key` from the current process, returning /// [`None`] if the variable isn't set. /// -/// [`None`]: Option::None -/// /// # Panics /// /// This function may panic if `key` is empty, contains an ASCII equals sign @@ -447,8 +441,6 @@ pub struct JoinPathsError { /// [`Path`]s contains an invalid character for constructing the `PATH` /// variable (a double quote on Windows or a colon on Unix). /// -/// [Err]: Result::Err -/// /// # Examples /// /// Joining paths on a Unix-like platform: