Skip to content

Fix the trait bounds on Injector::extend#96

Open
alexrutar wants to merge 1 commit into
helix-editor:masterfrom
rutar-forks:fix-extend-trait-bounds
Open

Fix the trait bounds on Injector::extend#96
alexrutar wants to merge 1 commit into
helix-editor:masterfrom
rutar-forks:fix-extend-trait-bounds

Conversation

@alexrutar

Copy link
Copy Markdown
Contributor

This PR fixes the trait bounds on Injector::extend and boxcar::Vec from #74

The previous trait bounds were IntoIterator + ExactSizeIterator but ExactSizeIterator implies Iterator implies IntoIterator so these bounds are redundant.

The bounds have been updated to check that the associated IntoIter type is an ExactSizeIterator instead.

@alexrutar

Copy link
Copy Markdown
Contributor Author

The failing clippy lints are unrelated to this PR.

@archseer
archseer requested a review from pascalkuthe January 21, 2026 07:04
@Hywan

Hywan commented Feb 5, 2026

Copy link
Copy Markdown
Contributor

#98 is necessary to unblock the CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants