Skip to content

Commit e34368b

Browse files
committed
Improve wording of manual_contains docs
This is mainly to avoid the phrase "more fast" since that is not idiomatic English
1 parent beaf155 commit e34368b

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4439,7 +4439,7 @@ declare_clippy_lint! {
44394439
/// Checks for usage of `iter().any()` on slices when it can be replaced with `contains()` and suggests doing so.
44404440
///
44414441
/// ### Why is this bad?
4442-
/// `contains()` is more concise and idiomatic, sometimes more fast.
4442+
/// `contains()` is more concise and idiomatic, while also being faster in some cases.
44434443
///
44444444
/// ### Example
44454445
/// ```no_run

0 commit comments

Comments
 (0)