diff options
| author | bors <bors@rust-lang.org> | 2015-11-08 18:37:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-11-08 18:37:18 +0000 |
| commit | e543815c85d4ec3ad4df30f4f9eb7933378ad47f (patch) | |
| tree | 69c7ab3975f1eb07812165bc9cae2f59f64a47d1 /src/libstd | |
| parent | f5633df9133cddffbbbf8942841db83810aec835 (diff) | |
| parent | e5100a58021a612d04304425bff5d8a7ee4a5a94 (diff) | |
| download | rust-e543815c85d4ec3ad4df30f4f9eb7933378ad47f.tar.gz rust-e543815c85d4ec3ad4df30f4f9eb7933378ad47f.zip | |
Auto merge of #29690 - tbu-:pr_doc_env_home_dir, r=Manishearth
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/env.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/env.rs b/src/libstd/env.rs index c572f9fb36b..b81b2a71ad6 100644 --- a/src/libstd/env.rs +++ b/src/libstd/env.rs @@ -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 /// |
