about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/src/env.rs8
1 files changed, 0 insertions, 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<PathBuf> {
 ///
 /// Returns an [`Err`] if the operation fails.
 ///
-/// [`Err`]: Result::Err
-///
 /// # Examples
 ///
 /// ```
@@ -218,8 +214,6 @@ fn _var(key: &OsStr) -> Result<String, VarError> {
 /// 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: