chore: fix new clippy lints - #12686
Open
thibault-martinez wants to merge 1 commit into
Open
Conversation
Fix needless_late_init, useless_format, and manual slice chunking lints across several crates. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Thoralf-M
approved these changes
Aug 17, 2026
piotrm50
approved these changes
Aug 17, 2026
muXxer
approved these changes
Aug 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of change
In prevision of upcoming 1.98.
Fix new clippy lints across several crates:
needless_late_init: replace late-initializedletbindings withif/elseexpressions (overload_monitor,groth16natives)useless_format: replaceformat!on literal strings with.to_string()(iota-json-rpc-types,typed-storetests)chunks_exact(2)withas_chunks::<2>()(iota-replay)super::super::*imports incoin_apitests🤖 Generated with Claude Code