diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-02-08 23:55:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-08 23:55:49 -0500 |
| commit | 4f8adb68315d48dcc1b9c3dc4d2954065114867c (patch) | |
| tree | 729ec238f5760f5e46e0d29a7a09fa9f7ac01cd3 | |
| parent | ab7e51b2f7024686f4acf733b985035a6db5955f (diff) | |
| parent | 3022614ec3c602a5812286c855633ea34683b038 (diff) | |
| download | rust-4f8adb68315d48dcc1b9c3dc4d2954065114867c.tar.gz rust-4f8adb68315d48dcc1b9c3dc4d2954065114867c.zip | |
Rollup merge of #39649 - GuillaumeGomez:join_paths-url, r=frewsxcv
Add missing urls on join_paths r? @frewsxcv
| -rw-r--r-- | src/libstd/env.rs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/libstd/env.rs b/src/libstd/env.rs index e2641539294..1ef2cb4ed15 100644 --- a/src/libstd/env.rs +++ b/src/libstd/env.rs @@ -400,15 +400,19 @@ pub struct JoinPathsError { inner: os_imp::JoinPathsError } -/// Joins a collection of `Path`s appropriately for the `PATH` +/// Joins a collection of [`Path`]s appropriately for the `PATH` /// environment variable. /// -/// Returns an `OsString` on success. +/// Returns an [`OsString`] on success. /// -/// Returns an `Err` (containing an error message) if one of the input -/// `Path`s contains an invalid character for constructing the `PATH` +/// Returns an [`Err`][err] (containing an error message) if one of the input +/// [`Path`]s contains an invalid character for constructing the `PATH` /// variable (a double quote on Windows or a colon on Unix). /// +/// [`Path`]: ../../std/path/struct.Path.html +/// [`OsString`]: ../../std/ffi/struct.OsString.html +/// [err]: ../../std/result/enum.Result.html#variant.Err +/// /// # Examples /// /// ``` |
