Skip to content

Commit b69b641

Browse files
committed
Fixed link issue.
1 parent fb19560 commit b69b641

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/env.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -425,13 +425,13 @@ pub struct JoinPathsError {
425425
///
426426
/// # Errors
427427
///
428-
/// Returns an [`Err`] (containing an error message) if one of the input
428+
/// Returns an [`Err`][err] (containing an error message) if one of the input
429429
/// [`Path`]s contains an invalid character for constructing the `PATH`
430430
/// variable (a double quote on Windows or a colon on Unix).
431431
///
432432
/// [`Path`]: ../../std/path/struct.Path.html
433433
/// [`OsString`]: ../../std/ffi/struct.OsString.html
434-
/// [`Err`]: ../../std/result/enum.Result.html#variant.Err
434+
/// [err]: ../../std/result/enum.Result.html#variant.Err
435435
///
436436
/// # Examples
437437
///

0 commit comments

Comments
 (0)