We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
manual_contains
2 parents beaf155 + e34368b commit 6275f52Copy full SHA for 6275f52
clippy_lints/src/methods/mod.rs
@@ -4439,7 +4439,7 @@ declare_clippy_lint! {
4439
/// Checks for usage of `iter().any()` on slices when it can be replaced with `contains()` and suggests doing so.
4440
///
4441
/// ### Why is this bad?
4442
- /// `contains()` is more concise and idiomatic, sometimes more fast.
+ /// `contains()` is more concise and idiomatic, while also being faster in some cases.
4443
4444
/// ### Example
4445
/// ```no_run
0 commit comments