@@ -463,15 +463,15 @@ impl FileAttr { |
|
|
463 |
463 |
#[cfg(target_os = "aix")] |
464 |
464 |
impl FileAttr { |
465 |
465 |
pub fn modified(&self) -> io::Result<SystemTime> { |
466 |
|
-Ok(SystemTime::new(self.stat.st_mtime.tv_sec as i64, self.stat.st_mtime.tv_nsec as i64)) |
|
466 |
+SystemTime::new(self.stat.st_mtime.tv_sec as i64, self.stat.st_mtime.tv_nsec as i64) |
467 |
467 |
} |
468 |
468 |
|
469 |
469 |
pub fn accessed(&self) -> io::Result<SystemTime> { |
470 |
|
-Ok(SystemTime::new(self.stat.st_atime.tv_sec as i64, self.stat.st_atime.tv_nsec as i64)) |
|
470 |
+SystemTime::new(self.stat.st_atime.tv_sec as i64, self.stat.st_atime.tv_nsec as i64) |
471 |
471 |
} |
472 |
472 |
|
473 |
473 |
pub fn created(&self) -> io::Result<SystemTime> { |
474 |
|
-Ok(SystemTime::new(self.stat.st_ctime.tv_sec as i64, self.stat.st_ctime.tv_nsec as i64)) |
|
474 |
+SystemTime::new(self.stat.st_ctime.tv_sec as i64, self.stat.st_ctime.tv_nsec as i64) |
475 |
475 |
} |
476 |
476 |
} |
477 |
477 |
|