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

Use assert_eq! rather than assert! where possible #6601

Closed
wants to merge 1 commit into from
Closed

Use assert_eq! rather than assert! where possible #6601

wants to merge 1 commit into from

Conversation

emberian
Copy link
Member

No description provided.

@brson
Copy link
Contributor

brson commented May 19, 2013

Needs rebase! 👾

bors added a commit that referenced this pull request May 19, 2013
@bors bors closed this May 19, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 11, 2021
…msteffen

Fix false positive for unit_arg lint

Fixes rust-lang#6447

To avoid false positives don't complain about unit args when they come from a path expression, e.g. a local variable.

**Note:** This is my first contribution to Clippy, so I might have messed up somewhere. Any feedback is welcome and I'm happy to work out any kinks.

---

changelog: Do not lint unit arguments when they come from a path expression.
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