docs
This commit is contained in:
parent
2a2b212ea3
commit
28eb06bd98
@ -2049,9 +2049,10 @@ pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
|
||||
///
|
||||
/// [changes]: io#platform-specific-behavior
|
||||
///
|
||||
/// On macOS before version 10.10 and REDOX this function is not protected against time-of-check to
|
||||
/// time-of-use (TOCTOU) race conditions, and should not be used in security-sensitive code on
|
||||
/// those platforms. All other platforms are protected.
|
||||
/// On macOS before version 10.10 and REDOX, as well as when running in Miri for any target, this
|
||||
/// function is not protected against time-of-check to time-of-use (TOCTOU) race conditions, and
|
||||
/// should not be used in security-sensitive code on those platforms. All other platforms are
|
||||
/// protected.
|
||||
///
|
||||
/// # Errors
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user