Skip to content

Commit d69cf29

Browse files
committed
doc: current_dir returns a PathBuf, not a Path
1 parent 8a60e56 commit d69cf29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/env.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use sync::atomic::{AtomicIsize, ATOMIC_ISIZE_INIT, Ordering};
2727
use sync::{StaticMutex, MUTEX_INIT};
2828
use sys::os as os_imp;
2929

30-
/// Returns the current working directory as a `Path`.
30+
/// Returns the current working directory as a `PathBuf`.
3131
///
3232
/// # Errors
3333
///

0 commit comments

Comments
 (0)