We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 457e528 commit 50522faCopy full SHA for 50522fa
library/std/src/fs.rs
@@ -2284,8 +2284,8 @@ impl AsInner<fs_imp::DirEntry> for DirEntry {
2284
///
2285
/// # Platform-specific behavior
2286
2287
-/// This function currently corresponds to the `unlink` function on Unix
2288
-/// 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.
2289
/// Note that, this [may change in the future][changes].
2290
2291
/// [changes]: io#platform-specific-behavior
0 commit comments