diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-09-29 11:42:06 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-29 11:42:06 +0900 |
| commit | 5c731cd796820a2968f880468efd1c2996c5efce (patch) | |
| tree | 2c1844959e5b3fc8ec7117d25df9e61e4e6b5ebe /library/std | |
| parent | 80e009ceba290606fd0e6fa6fc2e2599e8076d7f (diff) | |
| parent | 5baceaf796936b96769a979f0b475af36dfe9e47 (diff) | |
| download | rust-5c731cd796820a2968f880468efd1c2996c5efce.tar.gz rust-5c731cd796820a2968f880468efd1c2996c5efce.zip | |
Rollup merge of #102433 - RalfJung:temp-dir-typo, r=thomcc
env::temp_dir: fix a typo
Diffstat (limited to 'library/std')
| -rw-r--r-- | library/std/src/env.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/env.rs b/library/std/src/env.rs index 463f714064c..6eb7cbea626 100644 --- a/library/std/src/env.rs +++ b/library/std/src/env.rs @@ -603,7 +603,7 @@ pub fn home_dir() -> Option<PathBuf> { /// # Platform-specific behavior /// /// On Unix, returns the value of the `TMPDIR` environment variable if it is -/// set, otherwise for non-Android it returns `/tmp`. If Android, since there +/// set, otherwise for non-Android it returns `/tmp`. On Android, since there /// is no global temporary folder (it is usually allocated per-app), it returns /// `/data/local/tmp`. /// On Windows, the behavior is equivalent to that of [`GetTempPath2`][GetTempPath2] / |
