We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f6480ff + d037808 commit 8499f52Copy full SHA for 8499f52
src/libstd/env.rs
@@ -24,16 +24,19 @@ use path::{Path, PathBuf};
24
use sys;
25
use sys::os as os_imp;
26
27
-/// Returns the current working directory as a `PathBuf`.
+/// Returns the current working directory as a [`PathBuf`].
28
///
29
/// # Errors
30
31
-/// Returns an `Err` if the current working directory value is invalid.
+/// Returns an [`Err`] if the current working directory value is invalid.
32
/// Possible cases:
33
34
/// * Current directory does not exist.
35
/// * There are insufficient permissions to access the current directory.
36
37
+/// [`PathBuf`]: ../../std/path/struct.PathBuf.html
38
+/// [`Err`]: ../../std/result/enum.Result.html#method.err
39
+///
40
/// # Examples
41
42
/// ```
0 commit comments