display statement/statement_tmpl as in pod lang v1 (#269)

* display statement/statement_tmpl as in pod lang v1

* fix tests
This commit is contained in:
Eduard S. 2025-06-10 15:06:57 +02:00 committed by GitHub
parent 77c96d5dbe
commit 6feff2ae69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 114 additions and 52 deletions

View file

@ -131,7 +131,7 @@ impl fmt::Display for Statement {
if i != 0 {
write!(f, " ")?;
}
write!(f, "{}", arg)?;
arg.fmt(f)?;
}
}
Ok(())