Fix misuse of write! in last commit

This commit is contained in:
Nathan Fisher 2024-01-15 00:50:15 -05:00
parent 01d5da2d89
commit 888fa27a0e

View File

@ -320,8 +320,8 @@ impl Listing {
self.gid, self.gid,
); );
match self.kind { match self.kind {
Kind::Normal(s) => write!(f, "{s:>10} "), Kind::Normal(s) => print!(f, "{s:>10} "),
_ => write!(f, "{:>10}", "-"), _ => print!(f, "{:>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} "),