mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
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:
parent
b040e9450a
commit
61de4d56b0
62 changed files with 296 additions and 349 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue