Correct typo in lint description
This commit is contained in:
parent
b86a48955e
commit
48636259df
1 changed files with 1 additions and 1 deletions
|
|
@ -4046,7 +4046,7 @@ declare_clippy_lint! {
|
|||
/// Checks the usage of `.get().is_some()` or `.get().is_none()` on std map types.
|
||||
///
|
||||
/// ### Why is this bad?
|
||||
/// It can be done in one call with `.contains()`/`.contains_keys()`.
|
||||
/// It can be done in one call with `.contains()`/`.contains_key()`.
|
||||
///
|
||||
/// ### Example
|
||||
/// ```no_run
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue