Spell out the fallback of std::env::home_dir
on POSIX
This commit is contained in:
parent
01fc81f249
commit
e5100a5802
1 changed files with 3 additions and 1 deletions
|
@ -421,7 +421,9 @@ impl Error for JoinPathsError {
|
||||||
/// # Unix
|
/// # Unix
|
||||||
///
|
///
|
||||||
/// Returns the value of the 'HOME' environment variable if it is set
|
/// Returns the value of the 'HOME' environment variable if it is set
|
||||||
/// and not equal to the empty string.
|
/// and not equal to the empty string. Otherwise, it tries to determine the
|
||||||
|
/// home directory by invoking the `getpwuid_r` function on the UID of the
|
||||||
|
/// current user.
|
||||||
///
|
///
|
||||||
/// # Windows
|
/// # Windows
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue