Skip to content

Commit 10efb33

Browse files
committed
fix. identifiers/types
1 parent ae5cc88 commit 10efb33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/std/src/os/windows/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ impl MetadataExt for Metadata {
508508
self.as_inner().file_index()
509509
}
510510
fn change_time(&self) -> Option<u64> {
511-
self.as_inner().change_time()
511+
self.as_inner().changed_u64()
512512
}
513513
}
514514

library/std/src/sys/windows/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ impl FileAttr {
963963
}
964964

965965
pub fn changed_u64(&self) -> Option<u64> {
966-
self.change_time.map(|c| to_u64(c))
966+
self.change_time.as_ref().map(|c| to_u64(c))
967967
}
968968

969969
pub fn volume_serial_number(&self) -> Option<u32> {

0 commit comments

Comments
 (0)