Fix clippy

This commit is contained in:
Shoyu Vanilla 2024-11-15 01:46:08 +09:00
parent d34ed1495e
commit 738d5f9403

View file

@ -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)
}