mirror of
https://github.com/askama-rs/askama.git
synced 2025-09-27 04:50:40 +00:00
Fix clippy warning
This commit is contained in:
parent
d531c96d13
commit
d181493084
@ -1199,8 +1199,7 @@ impl<'a> Generator<'a, '_> {
|
||||
// locals in the normalized manner
|
||||
let normalized_arg = normalize_identifier(arg);
|
||||
buf.write(format_args!(
|
||||
"let {} = {before}{value}{after};",
|
||||
normalized_arg
|
||||
"let {normalized_arg} = {before}{value}{after};"
|
||||
));
|
||||
this.locals
|
||||
.insert_with_default(Cow::Borrowed(normalized_arg));
|
||||
|
Loading…
x
Reference in New Issue
Block a user