Fix incorrect error bubbling from non-Result statement

This commit is contained in:
Nathan Fisher 2024-01-15 00:52:43 -05:00
parent 2b078a8d70
commit 876d5fa87b
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ impl Listing {
match self.kind {
Kind::Normal(s) => print!("{s:>10} "),
_ => print!("{:>10}", "-"),
}?;
}
match NaiveDateTime::from_timestamp_opt(self.mtime as i64, 0) {
Some(dt) => print!("{dt} "),
_ => print!("{:>19} ", self.mtime),