Skip to content

Commit

Permalink
Rollup merge of rust-lang#39649 - GuillaumeGomez:join_paths-url, r=fr…
Browse files Browse the repository at this point in the history
…ewsxcv

Add missing urls on join_paths

r? @frewsxcv
  • Loading branch information
frewsxcv authored Feb 9, 2017
2 parents 3564084 + 3022614 commit 805b2f6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/libstd/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
/// ```
Expand Down

0 comments on commit 805b2f6

Please sign in to comment.