Skip to content

Commit e7a7279

Browse files
committed
Remove unnecessary links in env.rs
1 parent a2dfc3e commit e7a7279

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

library/std/src/env.rs

-8
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ use crate::sys::os as os_imp;
2828
/// * Current directory does not exist.
2929
/// * There are insufficient permissions to access the current directory.
3030
///
31-
/// [`Err`]: Result::Err
32-
///
3331
/// # Examples
3432
///
3533
/// ```
@@ -50,8 +48,6 @@ pub fn current_dir() -> io::Result<PathBuf> {
5048
///
5149
/// Returns an [`Err`] if the operation fails.
5250
///
53-
/// [`Err`]: Result::Err
54-
///
5551
/// # Examples
5652
///
5753
/// ```
@@ -218,8 +214,6 @@ fn _var(key: &OsStr) -> Result<String, VarError> {
218214
/// Fetches the environment variable `key` from the current process, returning
219215
/// [`None`] if the variable isn't set.
220216
///
221-
/// [`None`]: Option::None
222-
///
223217
/// # Panics
224218
///
225219
/// This function may panic if `key` is empty, contains an ASCII equals sign
@@ -447,8 +441,6 @@ pub struct JoinPathsError {
447441
/// [`Path`]s contains an invalid character for constructing the `PATH`
448442
/// variable (a double quote on Windows or a colon on Unix).
449443
///
450-
/// [Err]: Result::Err
451-
///
452444
/// # Examples
453445
///
454446
/// Joining paths on a Unix-like platform:

0 commit comments

Comments
 (0)