Skip to content

Commit

Permalink
idc about this
Browse files Browse the repository at this point in the history
  • Loading branch information
1zun4 committed Jan 15, 2024
1 parent 22e8faf commit 5a2f812
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions azalea-entity/src/plugin/relative_updates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,5 @@ impl EntityCommand for RelativeEntityUpdate {
pub fn debug_detect_updates_received_on_local_entities(
query: Query<Entity, (With<LocalEntity>, With<UpdatesReceived>)>,

Check warning on line 105 in azalea-entity/src/plugin/relative_updates.rs

View workflow job for this annotation

GitHub Actions / clippy

unused variable: `query`

warning: unused variable: `query` --> azalea-entity/src/plugin/relative_updates.rs:105:5 | 105 | query: Query<Entity, (With<LocalEntity>, With<UpdatesReceived>)>, | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` | = note: `#[warn(unused_variables)]` on by default
) {
for entity in &query {
warn!(
"Entity {:?} has both LocalEntity and UpdatesReceived",
entity
);
}

}

0 comments on commit 5a2f812

Please sign in to comment.