Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions library/std/src/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3169,8 +3169,9 @@ pub fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
/// not be used in security-sensitive contexts:
/// - **Miri**: Even when emulating targets where the underlying implementation will protect against
/// TOCTOU races, Miri will not do so.
/// - **QNX**, **Redox OS**, **VxWorks**: This function does not protect against TOCTOU races, as
/// the underlying platform does not implement the required platform support to do so.
/// - **ESP-IDF**, **Horizon**, **PS Vita**, **QNX**, **Redox OS**, **VxWorks**: This function does
/// not protect against TOCTOU races, as the underlying platform does not implement the required
/// platform support to do so.
///
/// [TOCTOU]: self#time-of-check-to-time-of-use-toctou
/// [changes]: io#platform-specific-behavior
Expand Down
Loading