Remove unnecessary links in env.rs
This commit is contained in:
parent
a2dfc3ec78
commit
e7a7279750
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user