From a4312599f7c04709a92b7be238dcf577bafbb14f Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 12 Nov 2025 04:26:02 +0330 Subject: cleanup - remove deprecated code - add `[lints] workspace=true` to every Cargo.toml, to make modifying clippy lints easier for later - remove some unnecessary #[allow]s - use Vec3i in some parts of the collision code --- azalea-brigadier/src/tree/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'azalea-brigadier/src') diff --git a/azalea-brigadier/src/tree/mod.rs b/azalea-brigadier/src/tree/mod.rs index 12a5a50c..a8c12117 100644 --- a/azalea-brigadier/src/tree/mod.rs +++ b/azalea-brigadier/src/tree/mod.rs @@ -305,9 +305,7 @@ impl PartialEq for CommandNode { Some(selfexecutes) => { // idk how to do this better since we can't compare `dyn Fn`s match &other.command { - Some(otherexecutes) => - { - #[allow(ambiguous_wide_pointer_comparisons)] + Some(otherexecutes) => { if !Arc::ptr_eq(selfexecutes, otherexecutes) { return false; } -- cgit v1.2.3