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:
@ -38,7 +38,6 @@ pub fn snuff_lantern(storage: &mut WriteStorage<comp::LightEmitter>, entity: Ecs
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[allow(clippy::blocks_in_if_conditions)]
|
#[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) {
|
pub fn handle_inventory(server: &mut Server, entity: EcsEntity, manip: comp::InventoryManip) {
|
||||||
let state = server.state_mut();
|
let state = server.state_mut();
|
||||||
|
|
||||||
|
@ -918,7 +918,6 @@ impl ParticleMgr {
|
|||||||
.join()
|
.join()
|
||||||
{
|
{
|
||||||
for (_, aura) in auras.auras.iter() {
|
for (_, aura) in auras.auras.iter() {
|
||||||
#[allow(clippy::single_match)]
|
|
||||||
match aura.aura_kind {
|
match aura.aura_kind {
|
||||||
aura::AuraKind::Buff {
|
aura::AuraKind::Buff {
|
||||||
kind: buff::BuffKind::ProtectingWard,
|
kind: buff::BuffKind::ProtectingWard,
|
||||||
@ -1045,7 +1044,6 @@ impl ParticleMgr {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(clippy::same_item_push)] // TODO: Pending review in #587
|
|
||||||
fn maintain_block_particles(
|
fn maintain_block_particles(
|
||||||
&mut self,
|
&mut self,
|
||||||
scene_data: &SceneData,
|
scene_data: &SceneData,
|
||||||
|
Reference in New Issue
Block a user