Skip to content

Commit 8499f52

Browse files
authored
Rollup merge of rust-lang#39621 - GuillaumeGomez:current_dir_docs, r=steveklabnik
Add missing urls for current_dir r? @steveklabnik
2 parents f6480ff + d037808 commit 8499f52

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/libstd/env.rs

+5-2
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,19 @@ use path::{Path, PathBuf};
2424
use sys;
2525
use sys::os as os_imp;
2626

27-
/// Returns the current working directory as a `PathBuf`.
27+
/// Returns the current working directory as a [`PathBuf`].
2828
///
2929
/// # Errors
3030
///
31-
/// Returns an `Err` if the current working directory value is invalid.
31+
/// Returns an [`Err`] if the current working directory value is invalid.
3232
/// Possible cases:
3333
///
3434
/// * Current directory does not exist.
3535
/// * There are insufficient permissions to access the current directory.
3636
///
37+
/// [`PathBuf`]: ../../std/path/struct.PathBuf.html
38+
/// [`Err`]: ../../std/result/enum.Result.html#method.err
39+
///
3740
/// # Examples
3841
///
3942
/// ```

0 commit comments

Comments
 (0)