Skip to content

Commit

Permalink
Remove unnecessary links in env.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
BoxyUwU committed Aug 17, 2020
1 parent a2dfc3e commit e7a7279
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions library/std/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
/// ```
Expand All @@ -50,8 +48,6 @@ pub fn current_dir() -> io::Result<PathBuf> {
///
/// Returns an [`Err`] if the operation fails.
///
/// [`Err`]: Result::Err
///
/// # Examples
///
/// ```
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit e7a7279

Please sign in to comment.