Update platform information for remove_file

This commit is contained in:
Chris Denton 2024-12-26 10:42:06 +00:00
parent 457e528794
commit 50522fad48
No known key found for this signature in database
GPG key ID: 713472F2F45627DE

View file

@ -2284,8 +2284,8 @@ impl AsInner<fs_imp::DirEntry> for DirEntry {
///
/// # Platform-specific behavior
///
/// This function currently corresponds to the `unlink` function on Unix
/// and the `DeleteFile` function on Windows.
/// This function currently corresponds to the `unlink` function on Unix.
/// On Windows, `DeleteFile` is used or `CreateFileW` and `SetInformationByHandle` for readonly files.
/// Note that, this [may change in the future][changes].
///
/// [changes]: io#platform-specific-behavior