Skip to content

Commit

Permalink
Fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jan 16, 2025
1 parent e98badc commit 01ef507
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rinja_derive/src/generator/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ impl<'a> Generator<'a, '_> {
};
buf.write("rinja::helpers::get_value");
buf.write("::<");
self.visit_ty_generic(buf, &gen);
self.visit_ty_generic(buf, gen);
buf.write('>');
buf.write("(&__rinja_values, &(");
self._visit_arg(ctx, buf, key)?;
Expand Down
1 change: 1 addition & 0 deletions rinja_parser/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,7 @@ impl LevelGuard<'_> {
}
}

#[allow(clippy::type_complexity)]
fn filter<'a>(
i: &mut &'a str,
level: Level<'_>,
Expand Down

0 comments on commit 01ef507

Please sign in to comment.