Skip to content

Commit 5c731cd

Browse files
authored
Rollup merge of #102433 - RalfJung:temp-dir-typo, r=thomcc
env::temp_dir: fix a typo
2 parents 80e009c + 5baceaf commit 5c731cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/env.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ pub fn home_dir() -> Option<PathBuf> {
603603
/// # Platform-specific behavior
604604
///
605605
/// On Unix, returns the value of the `TMPDIR` environment variable if it is
606-
/// set, otherwise for non-Android it returns `/tmp`. If Android, since there
606+
/// set, otherwise for non-Android it returns `/tmp`. On Android, since there
607607
/// is no global temporary folder (it is usually allocated per-app), it returns
608608
/// `/data/local/tmp`.
609609
/// On Windows, the behavior is equivalent to that of [`GetTempPath2`][GetTempPath2] /

0 commit comments

Comments
 (0)