about summary refs log tree commit diff
path: root/src/libstd/env.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-02-07 19:43:22 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2017-02-07 19:43:22 +0100
commitd0378089dec20c823d44cf8a0833d880f5dc0aa4 (patch)
treefdf397e0b240bc78c312907dbd328188da056f85 /src/libstd/env.rs
parentc49d10207a7e105525fb3bd71c18fde6fc2f5aed (diff)
downloadrust-d0378089dec20c823d44cf8a0833d880f5dc0aa4.tar.gz
rust-d0378089dec20c823d44cf8a0833d880f5dc0aa4.zip
Add missing urls for current_dir
Diffstat (limited to 'src/libstd/env.rs')
-rw-r--r--src/libstd/env.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libstd/env.rs b/src/libstd/env.rs
index 29f2ac6ab44..e2641539294 100644
--- a/src/libstd/env.rs
+++ b/src/libstd/env.rs
@@ -24,16 +24,19 @@ use path::{Path, PathBuf};
 use sys;
 use sys::os as os_imp;
 
-/// Returns the current working directory as a `PathBuf`.
+/// Returns the current working directory as a [`PathBuf`].
 ///
 /// # Errors
 ///
-/// Returns an `Err` if the current working directory value is invalid.
+/// Returns an [`Err`] if the current working directory value is invalid.
 /// Possible cases:
 ///
 /// * Current directory does not exist.
 /// * There are insufficient permissions to access the current directory.
 ///
+/// [`PathBuf`]: ../../std/path/struct.PathBuf.html
+/// [`Err`]: ../../std/result/enum.Result.html#method.err
+///
 /// # Examples
 ///
 /// ```