Spell out the fallback of std::env::home_dir on POSIX

This commit is contained in:
Tobias Bucher 2015-11-08 15:34:16 +00:00
parent 01fc81f249
commit e5100a5802

View file

@ -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
/// ///