From e34368b48d9f3f0ce2e652be69ac1b76e751a2a5 Mon Sep 17 00:00:00 2001 From: Ethan Brierley Date: Thu, 29 May 2025 22:13:02 +0100 Subject: [PATCH] Improve wording of `manual_contains` docs This is mainly to avoid the phrase "more fast" since that is not idiomatic English --- clippy_lints/src/methods/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index c507407d85c1..bc1592069850 100644 --- a/clippy_lints/src/methods/mod.rs +++ b/clippy_lints/src/methods/mod.rs @@ -4439,7 +4439,7 @@ declare_clippy_lint! { /// Checks for usage of `iter().any()` on slices when it can be replaced with `contains()` and suggests doing so. /// /// ### Why is this bad? - /// `contains()` is more concise and idiomatic, sometimes more fast. + /// `contains()` is more concise and idiomatic, while also being faster in some cases. /// /// ### Example /// ```no_run