Skip to content

chore: fix clippy lints on stable#10

Open
andrew wants to merge 1 commit into
rustfoundation:mainfrom
andrew:chore/clippy
Open

chore: fix clippy lints on stable#10
andrew wants to merge 1 commit into
rustfoundation:mainfrom
andrew:chore/clippy

Conversation

@andrew
Copy link
Copy Markdown

@andrew andrew commented May 11, 2026

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.
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.

1 participant