mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Resolve unused '#[allow(clippy::same_item_push)]' error supressions
This commit is contained in:
parent
c577a7d677
commit
1ac3d1b761
@ -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();
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user