Fix all format arg inlining

Ran this command:

```shell
cargo clippy --fix -- -A clippy::all -W clippy::uninlined_format_args
```
This commit is contained in:
Yuri Astrakhan 2025-02-06 01:57:43 -05:00 committed by Olivier Goffart
parent b040e9450a
commit 61de4d56b0
62 changed files with 296 additions and 349 deletions

View file

@ -541,7 +541,7 @@ mod parser_trait {
/// Returns true if the token was consumed.
fn expect(&mut self, kind: SyntaxKind) -> bool {
if !self.test(kind) {
self.error(format!("Syntax error: expected {}", kind));
self.error(format!("Syntax error: expected {kind}"));
return false;
}
true