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 #[allow(warnings)] in rusti instead of explicitly listing warnings #7581

Merged
merged 1 commit into from
Jul 7, 2013

Conversation

alexcrichton
Copy link
Member

This is more future-proof

bors added a commit that referenced this pull request Jul 7, 2013
@bors bors closed this Jul 7, 2013
@bors bors merged commit e80dcf7 into rust-lang:master Jul 7, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Sep 8, 2021
flip1995 pushed a commit to flip1995/rust that referenced this pull request Sep 8, 2021
…effen

Extend unnecessary_unwrap to look for expect in addition to unwrap

changelog: Extend ``[`unnecessary_unwrap`]`` to also check for `Option::expect` and `Result::expect`. Also give code suggestions in some cases.

Fixes rust-lang#7581
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