about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEllen <supbscripter@gmail.com>2020-08-17 15:16:00 +0100
committerEllen <supbscripter@gmail.com>2020-08-17 15:16:09 +0100
commite7a72797506448b7525c963af2967356958f7e9b (patch)
tree04b06d839f9e4c4b8969e9cfb53bb26aa7d592b2
parenta2dfc3ec78b0832f0b6446a628c905fe4b09fd60 (diff)
downloadrust-e7a72797506448b7525c963af2967356958f7e9b.tar.gz
rust-e7a72797506448b7525c963af2967356958f7e9b.zip
Remove unnecessary links in env.rs
-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: