@@ -2471,16 +2471,15 @@ pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
24712471/// # Platform-specific behavior
24722472///
24732473/// This function currently corresponds to `openat`, `fdopendir`, `unlinkat` and `lstat` functions
2474- /// on Unix (except for macOS before version 10.10 and REDOX) and the `CreateFileW`,
2475- /// `GetFileInformationByHandleEx`, ` SetFileInformationByHandle`, and `NtCreateFile` functions on
2476- /// Windows. Note that, this [may change in the future][changes].
2474+ /// on Unix (except for REDOX) and the `CreateFileW`, `GetFileInformationByHandleEx `,
2475+ /// `SetFileInformationByHandle`, and `NtCreateFile` functions on Windows. Note that, this
2476+ /// [may change in the future][changes].
24772477///
24782478/// [changes]: io#platform-specific-behavior
24792479///
2480- /// On macOS before version 10.10 and REDOX, as well as when running in Miri for any target, this
2481- /// function is not protected against time-of-check to time-of-use (TOCTOU) race conditions, and
2482- /// should not be used in security-sensitive code on those platforms. All other platforms are
2483- /// protected.
2480+ /// On REDOX, as well as when running in Miri for any target, this function is not protected against
2481+ /// time-of-check to time-of-use (TOCTOU) race conditions, and should not be used in
2482+ /// security-sensitive code on those platforms. All other platforms are protected.
24842483///
24852484/// # Errors
24862485///
0 commit comments