Skip to content
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

Fix clippy warnings with new version of clippy #971

Merged
merged 2 commits into from
Mar 10, 2021

Conversation

glandium
Copy link
Collaborator

This will allow PRs with failed CI just because they happened with
a newer version of rustfmt/clippy than last time the master branch
was checked.
@@ -47,6 +47,7 @@ fn get_file_mode(file: &fs::File) -> Result<Option<u32>> {
}

#[cfg(windows)]
#[allow(clippy::unnecessary_wraps)]
Copy link
Contributor

Choose a reason for hiding this comment

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

Smells like an impl Trait is needed around here, but that's unrelated to this patch.

@glandium glandium merged commit 3f318a8 into mozilla:master Mar 10, 2021
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