Skip to content

Commit 4f8adb6

Browse files
authored
Rollup merge of rust-lang#39649 - GuillaumeGomez:join_paths-url, r=frewsxcv
Add missing urls on join_paths r? @frewsxcv
2 parents ab7e51b + 3022614 commit 4f8adb6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/libstd/env.rs

+8-4
Original file line numberDiff line numberDiff line change
@@ -400,15 +400,19 @@ pub struct JoinPathsError {
400400
inner: os_imp::JoinPathsError
401401
}
402402

403-
/// Joins a collection of `Path`s appropriately for the `PATH`
403+
/// Joins a collection of [`Path`]s appropriately for the `PATH`
404404
/// environment variable.
405405
///
406-
/// Returns an `OsString` on success.
406+
/// Returns an [`OsString`] on success.
407407
///
408-
/// Returns an `Err` (containing an error message) if one of the input
409-
/// `Path`s contains an invalid character for constructing the `PATH`
408+
/// Returns an [`Err`][err] (containing an error message) if one of the input
409+
/// [`Path`]s contains an invalid character for constructing the `PATH`
410410
/// variable (a double quote on Windows or a colon on Unix).
411411
///
412+
/// [`Path`]: ../../std/path/struct.Path.html
413+
/// [`OsString`]: ../../std/ffi/struct.OsString.html
414+
/// [err]: ../../std/result/enum.Result.html#variant.Err
415+
///
412416
/// # Examples
413417
///
414418
/// ```

0 commit comments

Comments
 (0)