Skip to content

Commit

Permalink
Correct typo in lint description
Browse files Browse the repository at this point in the history
  • Loading branch information
ageorgou committed Oct 15, 2024
1 parent b86a489 commit 4863625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/methods/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4863625

Please sign in to comment.