Fix incorrect error bubbling from non-Result statement
This commit is contained in:
parent
2b078a8d70
commit
876d5fa87b
@ -322,7 +322,7 @@ impl Listing {
|
|||||||
match self.kind {
|
match self.kind {
|
||||||
Kind::Normal(s) => print!("{s:>10} "),
|
Kind::Normal(s) => print!("{s:>10} "),
|
||||||
_ => print!("{:>10}", "-"),
|
_ => print!("{:>10}", "-"),
|
||||||
}?;
|
}
|
||||||
match NaiveDateTime::from_timestamp_opt(self.mtime as i64, 0) {
|
match NaiveDateTime::from_timestamp_opt(self.mtime as i64, 0) {
|
||||||
Some(dt) => print!("{dt} "),
|
Some(dt) => print!("{dt} "),
|
||||||
_ => print!("{:>19} ", self.mtime),
|
_ => print!("{:>19} ", self.mtime),
|
||||||
|
Loading…
Reference in New Issue
Block a user