From a08f6c7c7aaf7e1b76a04d1a2482162d9b6572c2 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Sat, 10 Oct 2026 09:57:38 +0200 Subject: [PATCH] Fix clippy lint in item modifier sequence The sequence loot function folds over an Option accumulator, which clippy flags as a manual try_fold. The fold is intentional, so allow the lint there. Co-Authored-By: Claude Sonnet 5.5 --- crates/horizon-client/src/game/commands/items.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/horizon-client/src/game/commands/items.rs b/crates/horizon-client/src/game/commands/items.rs index 62bedd9cc..fb1bf3c27 100644 --- a/crates/horizon-client/src/game/commands/items.rs +++ b/crates/horizon-client/src/game/commands/items.rs @@ -358,6 +358,7 @@ impl Game<'_> { } match m["function"].as_str().unwrap_or("") { "minecraft:sequence" => { + #[allow(clippy::manual_try_fold)] return m["functions"] .as_array() .into_iter()