-
Notifications
You must be signed in to change notification settings - Fork 8
A few updates to the lint set #122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
xStrom
approved these changes
Oct 14, 2025
Member
xStrom
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these are very reasonable improvements. Thanks!
github-merge-queue bot
pushed a commit
to linebender/color
that referenced
this pull request
Oct 17, 2025
See linebender/linebender.github.io#122 Not exactly urgent as there are no changes, but I'm going down the line and re-syncing stuff. Also some tweaks in the `color_operations` stub to properly apply `no_std`.
DJMcNab
added a commit
to DJMcNab/peniko
that referenced
this pull request
Oct 17, 2025
This was referenced Oct 17, 2025
github-merge-queue bot
pushed a commit
to linebender/kurbo
that referenced
this pull request
Oct 17, 2025
See linebender/linebender.github.io#122 Also bumps stable Rust and typos
github-merge-queue bot
pushed a commit
to linebender/parley
that referenced
this pull request
Oct 17, 2025
See linebender/linebender.github.io#122 Also bumps typos and Rust stable in CI.
DJMcNab
added a commit
to DJMcNab/xilem
that referenced
this pull request
Oct 22, 2025
github-merge-queue bot
pushed a commit
to linebender/xilem
that referenced
this pull request
Oct 22, 2025
See linebender/linebender.github.io#122 As it happens, we already followed this pretty completely.
github-merge-queue bot
pushed a commit
to linebender/peniko
that referenced
this pull request
Oct 24, 2025
See linebender/linebender.github.io#122 Also bumps typos.
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.
Having used
clippy::default_trait_accessas an editor lint, I'm really happy with it. It also only ever makes extremely local suggestions (making addressing it when writing a change trivial), and significantly improves readability in a lot of cases. It's also something which I've now found myself suggesting regularly in PR reviews, as better style.As such, I'm proposing that we move this into the proper lint set.
Separately,
unused_qualificationsis good for consistency (if you seeRectandkurbo::Rectnext to each other, you might reasonably assume that they are different types). As such, I'm also proposing that we move this into the "proper" lint set out of the periodic lints.This proposal is more marginal, and I'm happy to demote it back to a periodic lint if there's pushback.
Thirdly, I'm proposing removed the editor lints as a class; I don't think anyone ever used them, and the theory that you can make drive-by style fixes in otherwise unrelated PRs was never sound.