]> git.lizzy.rs Git - rust.git/commitdiff
Add missing urls on join_paths
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 8 Feb 2017 17:42:01 +0000 (18:42 +0100)
committerGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 8 Feb 2017 20:53:49 +0000 (21:53 +0100)
src/libstd/env.rs

index e26415392949175499c870fd6d2143c7e91b2415..1ef2cb4ed153c2e5d4e78eba2531e86031ecc29d 100644 (file)
@@ -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
 ///
 /// ```