Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6275f52

Browse files
authoredMay 29, 2025
Improve wording of manual_contains docs (#14917)
This is mainly to avoid the phrase "more fast" since that is not idiomatic English changelog: [`manual_contains`]: Improved documentation wording
2 parents beaf155 + e34368b commit 6275f52

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)
Please sign in to comment.