Skip to content

Commit

Permalink
Add missing urls for current_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Feb 7, 2017
1 parent c49d102 commit d037808
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/libstd/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
/// ```
Expand Down

0 comments on commit d037808

Please sign in to comment.