-
Notifications
You must be signed in to change notification settings - Fork 321
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
Various Clippy Fixes #526
Various Clippy Fixes #526
Conversation
`&str` implements `ToString` through a slower blanket impl, but `str` has a fast specialization of `ToString`
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.
Most of these look great! -- if we could revert the match blocks to how they were (9cfbea4) I think we're good!
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.
Eh, actually. I don't care enough that to block this PR. Let's merge it. Thanks!
This satisfies all off
clippy::all
with some fixes fromclippy::pedantic
andclippy::nursery
.Note: It's probably easier to review this per commit rather than as the whole diff as it has lots of little changes.