about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-02-08 18:42:01 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2017-02-08 21:53:49 +0100
commit3022614ec3c602a5812286c855633ea34683b038 (patch)
treea6c8ad6105375f9355db23ad6c2134b133c9a661 /src/libstd
parent10f6a5c4431e09d355a0ba319a630e02a1e38361 (diff)
downloadrust-3022614ec3c602a5812286c855633ea34683b038.tar.gz
rust-3022614ec3c602a5812286c855633ea34683b038.zip
Add missing urls on join_paths
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/env.rs12
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
 ///
 /// ```