Fix misuse of write! in last commit
This commit is contained in:
parent
01d5da2d89
commit
888fa27a0e
@ -320,8 +320,8 @@ impl Listing {
|
||||
self.gid,
|
||||
);
|
||||
match self.kind {
|
||||
Kind::Normal(s) => write!(f, "{s:>10} "),
|
||||
_ => write!(f, "{:>10}", "-"),
|
||||
Kind::Normal(s) => print!(f, "{s:>10} "),
|
||||
_ => print!(f, "{:>10}", "-"),
|
||||
}?;
|
||||
match NaiveDateTime::from_timestamp_opt(self.mtime as i64, 0) {
|
||||
Some(dt) => print!("{dt} "),
|
||||
|
Loading…
Reference in New Issue
Block a user