Repository navigation
fix(proofs): drop redundant clone flagged by clippy 1.100 - #234
Conversation
CI installs the stable toolchain, which moved to Rust 1.100.0 after the checks of #231 ran. Its `redundant_clone` lint rejects `k.clone()` in the append path of `store.rs`: `k` is owned by the loop and not used afterwards, so it can be moved into `append_dup` directly. The Clippy job on main has been failing since, and the `release/*` ruleset requires Clippy on a commit before a release branch can be created from it. No behaviour change.
There was a problem hiding this comment.
Claude Code Review
Claude Code Review is paused for this repository because its GitHub organization is not linked to your Claude organization.
To turn it back on, one person needs both roles: owner of the GitHub organization (or the account owner, for a personal repository) and admin or owner of your Claude organization. If that is not you, pass this on to someone who is.
Open Organization settings, Git providers and click Link next to the GitHub organization's name. If it is not listed, click Enable GitHub integration or Connect your GitHub first, whichever the page shows.
New pull requests are then reviewed as before. To get a review on one that is already open, someone with write access can comment @claude review.
Tip: disable this comment in your organization's Code Review settings.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Why
CI installs the stable toolchain (
dtolnay/rust-toolchain@stable), which moved to Rust 1.100.0 after the checks of #231 ran. Clippy onmain(c25b9a3) now fails:kis owned by the loop and not used afterwards, so it is moved intoappend_dupinstead of cloned.The
Release branchesruleset requiresClippyto pass on a commit beforerelease/1.5.0can be created from it, so this blocks the v1.5.0 release branch. Thev1.5.0tag and its binaries are built fromc25b9a3; the release branch will be created from this fix, which only differs by this one line.Notes
morph-proofs, so crates that depend on it were not linted with 1.100.0 yet. If CI reports more, they will be fixed in this PR.Summary by CodeRabbit