Skip to content

Commit

Permalink
Rollup merge of #39621 - GuillaumeGomez:current_dir_docs, r=steveklabnik
Browse files Browse the repository at this point in the history
Add missing urls for current_dir

r? @steveklabnik
  • Loading branch information
frewsxcv committed Feb 8, 2017
2 parents 68872a8 + d037808 commit 0a815ac
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/libstd/env.rs
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 0a815ac

Please sign in to comment.