Skip to content

Commit e09e616

Browse files
committed
Make lint happy
1 parent 297e2bb commit e09e616

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

ewext/src/modules/entity_sync/diff_model.rs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ use bimap::BiHashMap;
44
use eyre::{Context, ContextCompat, OptionExt};
55
use noita_api::raw::{entity_create_new, raytrace_platforms};
66
use noita_api::serialize::{deserialize_entity, serialize_entity};
7-
use noita_api::{game_print, AIAttackComponent, AbilityComponent, AdvancedFishAIComponent, AnimalAIComponent, AudioComponent, BossDragonComponent, BossHealthBarComponent, CameraBoundComponent, CharacterDataComponent, DamageModelComponent, EntityID, ExplodeOnDamageComponent, IKLimbComponent, IKLimbWalkerComponent, Inventory2Component, ItemComponent, ItemCostComponent, ItemPickUpperComponent, LaserEmitterComponent, LuaComponent, PhysData, PhysicsAIComponent, PhysicsBody2Component, SpriteComponent, StreamingKeepAliveComponent, VariableStorageComponent, VelocityComponent, WormComponent};
7+
use noita_api::{
8+
game_print, AIAttackComponent, AbilityComponent, AdvancedFishAIComponent, AnimalAIComponent,
9+
AudioComponent, BossDragonComponent, BossHealthBarComponent, CameraBoundComponent,
10+
CharacterDataComponent, DamageModelComponent, EntityID, ExplodeOnDamageComponent,
11+
IKLimbComponent, IKLimbWalkerComponent, Inventory2Component, ItemComponent, ItemCostComponent,
12+
ItemPickUpperComponent, LaserEmitterComponent, LuaComponent, PhysData, PhysicsAIComponent,
13+
PhysicsBody2Component, SpriteComponent, StreamingKeepAliveComponent, VariableStorageComponent,
14+
VelocityComponent, WormComponent,
15+
};
816
use rustc_hash::{FxHashMap, FxHashSet};
917
use shared::des::TRANSFER_RADIUS;
1018
use shared::{

ewext/src/noita/pixel.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#[allow(clippy::repr_packed_without_abi)]
2-
#[repr(packed)]
1+
#[repr(C, packed)]
32
pub(crate) struct NoitaPixelRun {
43
pub(crate) length: u16,
54
pub(crate) material: u16,

0 commit comments

Comments
 (0)