Spell out the fallback of std::env::home_dir
on POSIX
This commit is contained in:
parent
01fc81f249
commit
e5100a5802
@ -421,7 +421,9 @@ impl Error for JoinPathsError {
|
||||
/// # Unix
|
||||
///
|
||||
/// 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
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user