[PR #1553] [MERGED] Client: Clippy cleanups from TheGaner's #1534 #3581

Closed
opened 2026-11-03 04:10:35 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/1553
Author: @ludovic111
Created: 10/24/2026
Status: ✅ Merged
Merged: 10/24/2026
Merged by: @ludovic111

Base: main ← Head: cg3/pr1534-fixup


📝 Commits (9)

  • 14461c1 fix(client): preserve behavior while clearing Rust 1.90 Clippy errors
  • 8f081ae Merge remote-tracking branch 'upstream/main' into fix/client-clippy-baseline-20261023
  • 077c4c9 Merge remote-tracking branch 'upstream/main' into fix/client-clippy-baseline-20261023
  • 3e04df4 Merge commit 'd84d7a7e61' into fix/client-clippy-baseline-20261023
  • 51de8af Merge commit 'd8dd2023dd' into fix/client-clippy-baseline-20261023
  • 6b55abd Merge commit '22b2711cf9' into fix/client-clippy-baseline-20261023
  • 040ac1b Merge commit '59f018eabe' into fix/client-clippy-baseline-20261023
  • b21423a Keep only the Clippy rewrites that read as well on stable
  • 6eb34eb Merge origin/main into fix/client-clippy-baseline-20261023

📊 Changes

15 files changed (+48 additions, -50 deletions)

View changed files

📝 crates/horizon-client/src/containers.rs (+7 -7)
📝 crates/horizon-client/src/game.rs (+5 -5)
📝 crates/horizon-client/src/game/chat.rs (+2 -5)
📝 crates/horizon-client/src/game/debug_keys.rs (+1 -1)
📝 crates/horizon-client/src/game/lan_vehicles.rs (+3 -1)
📝 crates/horizon-client/src/game/remote.rs (+2 -3)
📝 crates/horizon-client/src/items.rs (+13 -13)
📝 crates/horizon-client/src/mobs/ai.rs (+4 -4)
📝 crates/horizon-client/src/mobs/bee.rs (+1 -1)
📝 crates/horizon-client/src/mobs/living.rs (+3 -3)
📝 crates/horizon-client/src/mobs/monster_brain.rs (+1 -1)
📝 crates/horizon-client/src/mobs/raider.rs (+1 -1)
📝 crates/horizon-client/src/mobs/villager_brain.rs (+3 -3)
📝 crates/horizon-client/src/mobs/warden.rs (+1 -1)
📝 crates/horizon-client/src/particles.rs (+1 -1)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

This carries TheGaner's draft #1534 (their commits, unchanged authorship), plus a review follow-up. Maintainer edits are off on the fork, so the follow-up couldn't go on their branch.

Checked:

  • every boolean rewrite against the original, including evaluation order and where random draws happen; behaviour is kept.
  • Kept only the rewrites that read as well or better: stable Clippy (1.99) was already clean on main.
  • Merged with main: fmt, both CI Clippy runs with -D warnings, world + client tests, and parity --changed origin/main 310/310.
  • LAN host + guest checks: effects, chest, boats, minecarts, eat.

Thanks, TheGaner. Closes #1534 once merged.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/1553 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/24/2026 **Status:** ✅ Merged **Merged:** 10/24/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `cg3/pr1534-fixup` --- ### 📝 Commits (9) - [`14461c1`](https://github.com/horizon-rust/horizon/commit/14461c1d96443877e21fdd7fbc6be810d0c73dd6) fix(client): preserve behavior while clearing Rust 1.90 Clippy errors - [`8f081ae`](https://github.com/horizon-rust/horizon/commit/8f081ae4607a4f77924aa44e05d94837e68ab3a1) Merge remote-tracking branch 'upstream/main' into fix/client-clippy-baseline-20261023 - [`077c4c9`](https://github.com/horizon-rust/horizon/commit/077c4c92145286a780eebc64a1381797935b771d) Merge remote-tracking branch 'upstream/main' into fix/client-clippy-baseline-20261023 - [`3e04df4`](https://github.com/horizon-rust/horizon/commit/3e04df41c82d147236e54c43c1d7f7b907d26f88) Merge commit 'd84d7a7e6178ec1a6afab302c4b8ce80e5d2d9ee' into fix/client-clippy-baseline-20261023 - [`51de8af`](https://github.com/horizon-rust/horizon/commit/51de8afe95e0531ad5671ec1a40ec87853832f0c) Merge commit 'd8dd2023dd9c6129e9e628a66d61c1b10e1435cf' into fix/client-clippy-baseline-20261023 - [`6b55abd`](https://github.com/horizon-rust/horizon/commit/6b55abd66a9543ed8859684dbdaae55027fbcf62) Merge commit '22b2711cf9557d53d21080828c895dbff6027151' into fix/client-clippy-baseline-20261023 - [`040ac1b`](https://github.com/horizon-rust/horizon/commit/040ac1bec4ac539e6f95779147ce6cbf87ecaec4) Merge commit '59f018eabe26093274d34942365d31010c3e3e95' into fix/client-clippy-baseline-20261023 - [`b21423a`](https://github.com/horizon-rust/horizon/commit/b21423ae01cda2fec404604f9dbcd1526c7fea16) Keep only the Clippy rewrites that read as well on stable - [`6eb34eb`](https://github.com/horizon-rust/horizon/commit/6eb34eb868309b3b2d4de9e68c0998647e95280b) Merge origin/main into fix/client-clippy-baseline-20261023 ### 📊 Changes **15 files changed** (+48 additions, -50 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/containers.rs` (+7 -7) 📝 `crates/horizon-client/src/game.rs` (+5 -5) 📝 `crates/horizon-client/src/game/chat.rs` (+2 -5) 📝 `crates/horizon-client/src/game/debug_keys.rs` (+1 -1) 📝 `crates/horizon-client/src/game/lan_vehicles.rs` (+3 -1) 📝 `crates/horizon-client/src/game/remote.rs` (+2 -3) 📝 `crates/horizon-client/src/items.rs` (+13 -13) 📝 `crates/horizon-client/src/mobs/ai.rs` (+4 -4) 📝 `crates/horizon-client/src/mobs/bee.rs` (+1 -1) 📝 `crates/horizon-client/src/mobs/living.rs` (+3 -3) 📝 `crates/horizon-client/src/mobs/monster_brain.rs` (+1 -1) 📝 `crates/horizon-client/src/mobs/raider.rs` (+1 -1) 📝 `crates/horizon-client/src/mobs/villager_brain.rs` (+3 -3) 📝 `crates/horizon-client/src/mobs/warden.rs` (+1 -1) 📝 `crates/horizon-client/src/particles.rs` (+1 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. This carries TheGaner's draft #1534 (their commits, unchanged authorship), plus a review follow-up. Maintainer edits are off on the fork, so the follow-up couldn't go on their branch. Checked: - every boolean rewrite against the original, including evaluation order and where random draws happen; behaviour is kept. - Kept only the rewrites that read as well or better: stable Clippy (1.99) was already clean on main. - Merged with main: fmt, both CI Clippy runs with `-D warnings`, world + client tests, and `parity --changed origin/main` 310/310. - LAN host + guest checks: effects, chest, boats, minecarts, eat. Thanks, TheGaner. Closes #1534 once merged. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:10:35 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#3581
No description provided.