From b7749dd0d2b87b29ca01bbf40990cbc467bc34e8 Mon Sep 17 00:00:00 2001 From: levzzz <86072227+levzzz5154@users.noreply.github.com> Date: Tue, 27 Oct 2026 09:38:03 +0500 Subject: [PATCH] Fix a needless borrow in the decorated pot's test Clippy's needless_borrow: the registry is already a reference, so the extra & is dereferenced right away. Co-Authored-By: minimax-m3.1-flash (Claude Code) --- crates/horizon-client/src/block_entity_render.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/horizon-client/src/block_entity_render.rs b/crates/horizon-client/src/block_entity_render.rs index 3e4e2790d..c7ae80b22 100644 --- a/crates/horizon-client/src/block_entity_render.rs +++ b/crates/horizon-client/src/block_entity_render.rs @@ -2132,7 +2132,7 @@ mod tests { } let assets = crate::assets::Assets::load(&root).unwrap(); let registry = assets.registry; - let renderer = BlockEntityRenderer::load(&root, ®istry).unwrap(); + let renderer = BlockEntityRenderer::load(&root, registry).unwrap(); let state = registry.default_state("minecraft:decorated_pot").unwrap(); let sprites: HashMap = [ "entity/decorated_pot/decorated_pot_base",