summaryrefslogtreecommitdiffstats
path: root/vendor/tempfile/src/file/imp/windows.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/tempfile/src/file/imp/windows.rs')
-rw-r--r--vendor/tempfile/src/file/imp/windows.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/vendor/tempfile/src/file/imp/windows.rs b/vendor/tempfile/src/file/imp/windows.rs
index cb2673b5a..9df65f9e8 100644
--- a/vendor/tempfile/src/file/imp/windows.rs
+++ b/vendor/tempfile/src/file/imp/windows.rs
@@ -75,9 +75,6 @@ pub fn keep(path: &Path) -> io::Result<()> {
}
pub fn persist(old_path: &Path, new_path: &Path, overwrite: bool) -> io::Result<()> {
- // TODO: We should probably do this in one-shot using SetFileInformationByHandle but the API is
- // really painful.
-
unsafe {
let old_path_w = to_utf16(old_path);
let new_path_w = to_utf16(new_path);