Skip to content

Fixes new clippy lints on the latest nightly #603

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 2 commits into from
Mar 9, 2023

Conversation

kaczmarczyck
Copy link
Collaborator

Now that we can use a later toolchain, we see more lints. Overlaps with #580 , but I didn't reproduce all lints. Missing are all changes like:

-                large_blob_data.extend(&[0x0C, 0x00]);
+                large_blob_data.extend([0x0C, 0x00]);

Not sure what toolchain version these are coming from.

On a side note, other libraries still have lints that need to be fixed on the current nightly.

We didn't see these before because of our old Rust toolchain.
@kaczmarczyck kaczmarczyck requested a review from ia0 March 9, 2023 10:25
@kaczmarczyck kaczmarczyck self-assigned this Mar 9, 2023
@coveralls
Copy link

coveralls commented Mar 9, 2023

Coverage Status

Coverage: 96.176% (+0.1%) from 96.058% when pulling b5b8cce on kaczmarczyck:clippy-lints into ca65902 on google:develop.

ia0
ia0 previously approved these changes Mar 9, 2023
@kaczmarczyck kaczmarczyck merged commit 752db8c into google:develop Mar 9, 2023
@kaczmarczyck kaczmarczyck deleted the clippy-lints branch March 9, 2023 11:08
@kaczmarczyck kaczmarczyck mentioned this pull request Mar 9, 2023
2 tasks
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.

3 participants