doc: current_dir returns a PathBuf, not a Path

This commit is contained in:
Brian Anderson 2015-04-30 18:14:41 -07:00
parent 8a60e5667f
commit d69cf2940e

View file

@ -27,7 +27,7 @@ use sync::atomic::{AtomicIsize, ATOMIC_ISIZE_INIT, Ordering};
use sync::{StaticMutex, MUTEX_INIT};
use sys::os as os_imp;
/// Returns the current working directory as a `Path`.
/// Returns the current working directory as a `PathBuf`.
///
/// # Errors
///