Skip to content

clippy: warn on type_repetition_in_bounds (manual)#14291

Closed
decofe wants to merge 2 commits intofoundry-rs:masterfrom
decofe:zerosnacks/lint-type-repetition-in-bounds
Closed

clippy: warn on type_repetition_in_bounds (manual)#14291
decofe wants to merge 2 commits intofoundry-rs:masterfrom
decofe:zerosnacks/lint-type-repetition-in-bounds

Conversation

@decofe
Copy link
Copy Markdown
Contributor

@decofe decofe commented Apr 13, 2026

Enable clippy::type_repetition_in_bounds and fix all findings.

Consolidates repeated trait bounds by moving associated type constraints from where clauses into the impl header (e.g. impl<N: Network>... where N: Network<...>impl<N: Network<...>>...).

Prompted by: zerosnacks

Co-Authored-By: zerosnacks <95942363+zerosnacks@users.noreply.github.com>
@zerosnacks zerosnacks changed the title clippy: warn on type_repetition_in_bounds clippy: warn on type_repetition_in_bounds (manual) Apr 13, 2026
@zerosnacks zerosnacks self-assigned this Apr 13, 2026
@zerosnacks zerosnacks closed this Apr 30, 2026
@github-project-automation github-project-automation Bot moved this to Done in Foundry Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants