diff options
Diffstat (limited to 'azalea-brigadier/src')
| -rw-r--r-- | azalea-brigadier/src/tree/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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<S> PartialEq for CommandNode<S> { 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; } |
