diff options
| author | mat <git@matdoes.dev> | 2025-05-30 19:36:59 -0800 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-05-30 19:36:59 -0800 |
| commit | ae4b1e85e669bc882d158509ef1eda46c6b2a72e (patch) | |
| tree | adf81cc01b0ce1575e95b99ad109fd92db1738f6 /azalea-client/src/entity_query.rs | |
| parent | a64c6505049082175224802c5be51ac8f0cf4677 (diff) | |
| download | azalea-drasl-ae4b1e85e669bc882d158509ef1eda46c6b2a72e.tar.xz | |
fix clippy issues and improve formatting everywhere
Diffstat (limited to 'azalea-client/src/entity_query.rs')
| -rw-r--r-- | azalea-client/src/entity_query.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-client/src/entity_query.rs b/azalea-client/src/entity_query.rs index 77be68a8..e6bef25f 100644 --- a/azalea-client/src/entity_query.rs +++ b/azalea-client/src/entity_query.rs @@ -1,4 +1,4 @@ -use std::sync::Arc; +use std::{any, sync::Arc}; use bevy_ecs::{ component::Component, @@ -29,7 +29,7 @@ impl Client { .unwrap_or_else(|_| { panic!( "Our client is missing a required component {:?}", - std::any::type_name::<D>() + any::type_name::<D>() ) }) } @@ -77,7 +77,7 @@ impl Client { let components = q.get(&ecs, entity).unwrap_or_else(|_| { panic!( "Entity is missing a required component {:?}", - std::any::type_name::<Q>() + any::type_name::<Q>() ) }); components.clone() |
