From dcbd690f21665e22ea250024a1aa85dec34e6c9e Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 15 Dec 2025 11:14:40 +0930 Subject: sort derives with cargo sort-derives might add to ci later, unsure how to do it without adding significant friction for contributors though --- azalea-physics/src/clip.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'azalea-physics/src/clip.rs') diff --git a/azalea-physics/src/clip.rs b/azalea-physics/src/clip.rs index 625a709e..cabcd2a6 100644 --- a/azalea-physics/src/clip.rs +++ b/azalea-physics/src/clip.rs @@ -16,7 +16,7 @@ use azalea_world::ChunkStorage; use crate::collision::{BlockWithShape, EMPTY_SHAPE, VoxelShape}; -#[derive(Debug, Clone)] +#[derive(Clone, Debug)] pub struct ClipContext { pub from: Vec3, pub to: Vec3, @@ -58,7 +58,7 @@ impl ClipContext { } } -#[derive(Debug, Copy, Clone)] +#[derive(Clone, Copy, Debug)] pub enum BlockShapeType { /// The shape that's used for collision. Collider, @@ -71,7 +71,7 @@ pub enum BlockShapeType { Visual, FallDamageResetting, } -#[derive(Debug, Copy, Clone)] +#[derive(Clone, Copy, Debug)] pub enum FluidPickType { None, SourceOnly, -- cgit v1.2.3