Resolve unused '#[allow(clippy::same_item_push)]' error supressions

This commit is contained in:
Dr. Dystopia 2021-07-24 20:08:08 +02:00
parent c577a7d677
commit 1ac3d1b761
2 changed files with 0 additions and 3 deletions

View File

@ -38,7 +38,6 @@ pub fn snuff_lantern(storage: &mut WriteStorage<comp::LightEmitter>, entity: Ecs
}
#[allow(clippy::blocks_in_if_conditions)]
#[allow(clippy::same_item_push)] // TODO: Pending review in #587
pub fn handle_inventory(server: &mut Server, entity: EcsEntity, manip: comp::InventoryManip) {
let state = server.state_mut();

View File

@ -918,7 +918,6 @@ impl ParticleMgr {
.join()
{
for (_, aura) in auras.auras.iter() {
#[allow(clippy::single_match)]
match aura.aura_kind {
aura::AuraKind::Buff {
kind: buff::BuffKind::ProtectingWard,
@ -1045,7 +1044,6 @@ impl ParticleMgr {
}
}
#[allow(clippy::same_item_push)] // TODO: Pending review in #587
fn maintain_block_particles(
&mut self,
scene_data: &SceneData,