Fix incorrect print! syntax

This commit is contained in:
Nathan Fisher 2024-01-15 00:51:47 -05:00
parent 888fa27a0e
commit 2b078a8d70

View File

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