@@ -452,16 +452,16 @@ pub fn home_dir() -> Option<PathBuf> {
452
452
453
453
/// Returns the path of a temporary directory.
454
454
///
455
- /// On Unix, returns the value of the ' TMPDIR' environment variable if it is
456
- /// set, otherwise for non-Android it returns ' /tmp' . If Android, since there
457
- /// is no global temporary folder (it is usually allocated per-app), we return
458
- /// ' /data/local/tmp' .
459
- ///
460
- /// On Windows, returns the value of, in order, the ' TMP', ' TEMP' ,
461
- /// ' USERPROFILE' environment variable if any are set and not the empty
462
- /// string. Otherwise, tmpdir returns the path of the Windows directory. This
463
- /// behavior is identical to that of [GetTempPath][msdn], which this function
464
- /// uses internally.
455
+ /// On Unix, returns the value of the ` TMPDIR` environment variable if it is
456
+ /// set, otherwise for non-Android it returns ` /tmp` . If Android, since there
457
+ /// is no global temporary folder (it is usually allocated per-app), it returns
458
+ /// ` /data/local/tmp` .
459
+ ///
460
+ /// On Windows, returns the value of, in order, the ` TMP`, ` TEMP` ,
461
+ /// ` USERPROFILE` environment variable if any are set and not the empty
462
+ /// string. Otherwise, `temp_dir` returns the path of the Windows directory.
463
+ /// This behavior is identical to that of [` GetTempPath` ][msdn], which this
464
+ /// function uses internally.
465
465
///
466
466
/// [msdn]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa364992(v=vs.85).aspx
467
467
///
0 commit comments