File tree 1 file changed +0
-8
lines changed
1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ use crate::sys::os as os_imp;
28
28
/// * Current directory does not exist.
29
29
/// * There are insufficient permissions to access the current directory.
30
30
///
31
- /// [`Err`]: Result::Err
32
- ///
33
31
/// # Examples
34
32
///
35
33
/// ```
@@ -50,8 +48,6 @@ pub fn current_dir() -> io::Result<PathBuf> {
50
48
///
51
49
/// Returns an [`Err`] if the operation fails.
52
50
///
53
- /// [`Err`]: Result::Err
54
- ///
55
51
/// # Examples
56
52
///
57
53
/// ```
@@ -218,8 +214,6 @@ fn _var(key: &OsStr) -> Result<String, VarError> {
218
214
/// Fetches the environment variable `key` from the current process, returning
219
215
/// [`None`] if the variable isn't set.
220
216
///
221
- /// [`None`]: Option::None
222
- ///
223
217
/// # Panics
224
218
///
225
219
/// This function may panic if `key` is empty, contains an ASCII equals sign
@@ -447,8 +441,6 @@ pub struct JoinPathsError {
447
441
/// [`Path`]s contains an invalid character for constructing the `PATH`
448
442
/// variable (a double quote on Windows or a colon on Unix).
449
443
///
450
- /// [Err]: Result::Err
451
- ///
452
444
/// # Examples
453
445
///
454
446
/// Joining paths on a Unix-like platform:
You can’t perform that action at this time.
0 commit comments