Browse Source

fix clippy

Evan Almloff 1 năm trước cách đây
mục cha
commit
248d78fbfe
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/core/src/scope_context.rs

+ 1 - 1
packages/core/src/scope_context.rs

@@ -128,7 +128,7 @@ impl ScopeContext {
                     parent.name
                 );
                 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>()
                 }) {
                     return Some(shared.clone());