File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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///
You can’t perform that action at this time.
0 commit comments