-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
A-lintArea: New lintsArea: New lintsL-pedanticLint: Belongs in the pedantic lint groupLint: Belongs in the pedantic lint groupgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy
Description
Right now the result_unwrap
and option_unwrap
lints are allow by default, meaning that result.ok().unwrap()
will not be linted, even though result.ok().expect(...)
is.
We could also do the same for result.err().unwrap()
, suggesting unwrap_err
.
This seems like a problem that should be addressed with a new lint which is allow by default.
Metadata
Metadata
Assignees
Labels
A-lintArea: New lintsArea: New lintsL-pedanticLint: Belongs in the pedantic lint groupLint: Belongs in the pedantic lint groupgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy