Skip to content

Commit 28eb06b

Browse files
committed
docs
1 parent 2a2b212 commit 28eb06b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

library/std/src/fs.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2049,9 +2049,10 @@ pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
20492049
///
20502050
/// [changes]: io#platform-specific-behavior
20512051
///
2052-
/// On macOS before version 10.10 and REDOX this function is not protected against time-of-check to
2053-
/// time-of-use (TOCTOU) race conditions, and should not be used in security-sensitive code on
2054-
/// those platforms. All other platforms are protected.
2052+
/// On macOS before version 10.10 and REDOX, as well as when running in Miri for any target, this
2053+
/// function is not protected against time-of-check to time-of-use (TOCTOU) race conditions, and
2054+
/// should not be used in security-sensitive code on those platforms. All other platforms are
2055+
/// protected.
20552056
///
20562057
/// # Errors
20572058
///

0 commit comments

Comments
 (0)