Skip to content

Commit

Permalink
Rollup merge of #102433 - RalfJung:temp-dir-typo, r=thomcc
Browse files Browse the repository at this point in the history
env::temp_dir: fix a typo
  • Loading branch information
JohnTitor authored Sep 29, 2022
2 parents 80e009c + 5baceaf commit 5c731cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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] /
Expand Down

0 comments on commit 5c731cd

Please sign in to comment.