Use to_string instead of format!

This commit is contained in:
Love 2025-01-08 15:40:46 +01:00
parent 3ec57b4414
commit 642db1dd6d

View File

@ -115,7 +115,7 @@ async fn main() -> ExitCode {
.map(|x| { .map(|x| {
let mut t: TableRef = x.into(); let mut t: TableRef = x.into();
t.sort(); t.sort();
format!("{}", t) t.to_string()
}) })
.collect::<Vec<_>>() .collect::<Vec<_>>()
.join("\n"), .join("\n"),