chore: clippy autofix

This commit is contained in:
rvcas
2023-02-01 13:08:54 -05:00
committed by Lucas
parent 4530507109
commit a365649360
24 changed files with 104 additions and 110 deletions

View File

@@ -84,7 +84,7 @@ impl fmt::Display for Token {
let index_str;
let s = match self {
Token::Error(c) => {
write!(f, "\"{}\"", c)?;
write!(f, "\"{c}\"")?;
return Ok(());
}
Token::Name { name } => name,
@@ -159,6 +159,6 @@ impl fmt::Display for Token {
Token::Test => "test",
Token::ErrorTerm => "error",
};
write!(f, "\"{}\"", s)
write!(f, "\"{s}\"")
}
}