Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ShoyuVanilla committed Nov 14, 2024
1 parent d34ed14 commit 738d5f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zalsa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ impl Zalsa {

struct JarAuxImpl<'a>(&'a Zalsa, &'a FxHashMap<TypeId, IngredientIndex>);

impl<'a> JarAux for JarAuxImpl<'a> {
impl JarAux for JarAuxImpl<'_> {
fn lookup_jar_by_type(&self, jar: &dyn Jar) -> Option<IngredientIndex> {
self.1.get(&jar.type_id()).map(ToOwned::to_owned)
}
Expand Down

0 comments on commit 738d5f9

Please sign in to comment.