Skip to content

chore: fix clippy lints on stable#10

Merged
Turbo87 merged 1 commit into
rustfoundation:mainfrom
andrew:chore/clippy
Jun 12, 2026
Merged

chore: fix clippy lints on stable#10
Turbo87 merged 1 commit into
rustfoundation:mainfrom
andrew:chore/clippy

Conversation

@andrew

@andrew andrew commented May 11, 2026

Copy link
Copy Markdown
Contributor

Newer stable clippy flags two lints that weren't caught when this code was written:

manual_unwrap_or_default in util::rebuild_name and needless_borrows_for_generic_args in Version::check.

No behaviour change. Both replacements are fine on MSRV 1.56.1 ([char; N] has implemented Pattern since 1.51).

manual_unwrap_or_default in util::rebuild_name and
needless_borrows_for_generic_args in Version::check.

No behaviour change.
@Turbo87

Turbo87 commented Jun 12, 2026

Copy link
Copy Markdown
Member

I'm closing (and reopening) this to hopefully trigger a CI run 🤞

@Turbo87 Turbo87 closed this Jun 12, 2026
@Turbo87 Turbo87 reopened this Jun 12, 2026

@Turbo87 Turbo87 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

and sorry for the radio silence. apparently nobody was watching for PRs on this repo 🙈

@Turbo87 Turbo87 merged commit 43daa6d into rustfoundation:main Jun 12, 2026
1 check passed
@github-actions github-actions Bot mentioned this pull request Jun 12, 2026
@andrew andrew deleted the chore/clippy branch June 12, 2026 08:20
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