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

Reenable clippy's use_self lint (disabled during last rustup) and remove now-unneeded #[allow]s for it. #470

Merged
merged 2 commits into from
Mar 4, 2021

Conversation

eddyb
Copy link
Contributor

@eddyb eddyb commented Mar 4, 2021

Fixes #459 (clippy's use_self has a correct implementation now).

Sadly, I had to add one new #[allow(clippy::use_self)], because of rust-lang/rust-clippy#6818, but it's still an overall improvement.

@eddyb eddyb requested a review from khyperia as a code owner March 4, 2021 15:37
@XAMPPRocky XAMPPRocky enabled auto-merge (squash) March 4, 2021 15:39
@XAMPPRocky XAMPPRocky merged commit d574fa3 into EmbarkStudios:main Mar 4, 2021
@eddyb eddyb deleted the use-self-cleanup branch March 4, 2021 16:21
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.

future cleanup: remove allow(clippy::use_self) once we rustup past 2021-02-26.
3 participants