Add missing urls for current_dir

This commit is contained in:
Guillaume Gomez 2017-02-07 19:43:22 +01:00
parent c49d10207a
commit d0378089de

View file

@ -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
///
/// ```