We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae5cc88 commit 10efb33Copy full SHA for 10efb33
library/std/src/os/windows/fs.rs
@@ -508,7 +508,7 @@ impl MetadataExt for Metadata {
508
self.as_inner().file_index()
509
}
510
fn change_time(&self) -> Option<u64> {
511
- self.as_inner().change_time()
+ self.as_inner().changed_u64()
512
513
514
library/std/src/sys/windows/fs.rs
@@ -963,7 +963,7 @@ impl FileAttr {
963
964
965
pub fn changed_u64(&self) -> Option<u64> {
966
- self.change_time.map(|c| to_u64(c))
+ self.change_time.as_ref().map(|c| to_u64(c))
967
968
969
pub fn volume_serial_number(&self) -> Option<u32> {
0 commit comments