Skip to content

Commit

Permalink
Spell out the fallback of std::env::home_dir on POSIX
Browse files Browse the repository at this point in the history
  • Loading branch information
tbu- committed Nov 8, 2015
1 parent 01fc81f commit e5100a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libstd/env.rs
Expand Up @@ -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
///
Expand Down

0 comments on commit e5100a5

Please sign in to comment.