Fix incorrect print! syntax
This commit is contained in:
parent
888fa27a0e
commit
2b078a8d70
@ -320,8 +320,8 @@ impl Listing {
|
|||||||
self.gid,
|
self.gid,
|
||||||
);
|
);
|
||||||
match self.kind {
|
match self.kind {
|
||||||
Kind::Normal(s) => print!(f, "{s:>10} "),
|
Kind::Normal(s) => print!("{s:>10} "),
|
||||||
_ => print!(f, "{:>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} "),
|
||||||
|
Loading…
Reference in New Issue
Block a user