Skip to content

Commit 4863625

Browse files
committed
Correct typo in lint description
1 parent b86a489 commit 4863625

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4046,7 +4046,7 @@ declare_clippy_lint! {
40464046
/// Checks the usage of `.get().is_some()` or `.get().is_none()` on std map types.
40474047
///
40484048
/// ### Why is this bad?
4049-
/// It can be done in one call with `.contains()`/`.contains_keys()`.
4049+
/// It can be done in one call with `.contains()`/`.contains_key()`.
40504050
///
40514051
/// ### Example
40524052
/// ```no_run

0 commit comments

Comments
 (0)