Fix misuse of write! in last commit
This commit is contained in:
parent
01d5da2d89
commit
888fa27a0e
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue