fix clippy
This commit is contained in:
1 parent
459f24d5e9
commit
248d78fbfe
1 file changed
+1
-1
@@ -128,7 +128,7 @@ impl ScopeContext {
|
|||||||
parent.name
|
parent.name
|
||||||
);
|
);
|
||||||
if let Some(shared) = parent.shared_contexts.borrow().iter().find_map(|any| {
|
if let Some(shared) = parent.shared_contexts.borrow().iter().find_map(|any| {
|
||||||
tracing::trace!("found context {:?}", any.type_id());
|
tracing::trace!("found context {:?}", (**any).type_id());
|
||||||
any.downcast_ref::<T>()
|
any.downcast_ref::<T>()
|
||||||
}) {
|
}) {
|
||||||
return Some(shared.clone());
|
return Some(shared.clone());
|
||||||
|
|||||||
Reference in new issue
Block a user