Add missing urls for current_dir
This commit is contained in:
parent
c49d10207a
commit
d0378089de
1 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
///
|
||||
/// ```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue