[PR #4870] [MERGED] Fix main's build: the goat horn's held use returns true #5903

Closed
opened 2026-11-03 05:15:48 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: fix/main-goat-horn-return


📝 Commits (1)

  • 4f17e42 Fix main's build: the goat horn's held use returns true

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/game/remote.rs (+1 -1)

📄 Description

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

main doesn't build since #4085 and the goat horn PR (9b88df32d) merged side by side: #4085 made remote_start_held_use return a bool, and the goat horn's arm still ends in return;:

error[E0069]: `return;` in a function whose return type is not `()`
    --> crates/horizon-client/src/game/remote.rs:6445:17

The horn starts its own use (remote_use_instrument), as the trident and the shield arms do, so it returns true like them. One line.

cargo clippy -p horizon-client --all-targets -- -D warnings: clean.

🤖 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/4870 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/main-goat-horn-return` --- ### 📝 Commits (1) - [`4f17e42`](https://github.com/horizon-rust/horizon/commit/4f17e42f93d7f9afe2295e89923d4b44b8dbaf23) Fix main's build: the goat horn's held use returns true ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/remote.rs` (+1 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. main doesn't build since #4085 and the goat horn PR (9b88df32d) merged side by side: #4085 made `remote_start_held_use` return a `bool`, and the goat horn's arm still ends in `return;`: ``` error[E0069]: `return;` in a function whose return type is not `()` --> crates/horizon-client/src/game/remote.rs:6445:17 ``` The horn starts its own use (`remote_use_instrument`), as the trident and the shield arms do, so it returns `true` like them. One line. `cargo clippy -p horizon-client --all-targets -- -D warnings`: clean. 🤖 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 05:15:48 +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#5903
No description provided.