mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-22 21:05:11 +00:00
Fix clippy
This commit is contained in:
parent
d34ed1495e
commit
738d5f9403
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ impl Zalsa {
|
||||||
|
|
||||||
struct JarAuxImpl<'a>(&'a Zalsa, &'a FxHashMap<TypeId, IngredientIndex>);
|
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> {
|
fn lookup_jar_by_type(&self, jar: &dyn Jar) -> Option<IngredientIndex> {
|
||||||
self.1.get(&jar.type_id()).map(ToOwned::to_owned)
|
self.1.get(&jar.type_id()).map(ToOwned::to_owned)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue