diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-02-08 18:42:01 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2017-02-08 21:53:49 +0100 |
| commit | 3022614ec3c602a5812286c855633ea34683b038 (patch) | |
| tree | a6c8ad6105375f9355db23ad6c2134b133c9a661 /src/libstd | |
| parent | 10f6a5c4431e09d355a0ba319a630e02a1e38361 (diff) | |
| download | rust-3022614ec3c602a5812286c855633ea34683b038.tar.gz rust-3022614ec3c602a5812286c855633ea34683b038.zip | |
Add missing urls on join_paths
Diffstat (limited to 'src/libstd')
| -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 /// /// ``` |
