diff options
| author | Ethan Brierley <ethanboxx@gmail.com> | 2025-05-29 22:13:02 +0100 |
|---|---|---|
| committer | Ethan Brierley <ethanboxx@gmail.com> | 2025-05-29 22:15:01 +0100 |
| commit | e34368b48d9f3f0ce2e652be69ac1b76e751a2a5 (patch) | |
| tree | b123d6cfea797a0ced1778b89fdbc433dbb02d77 | |
| parent | beaf15532abe888421ad6c6fa127f03a6d800656 (diff) | |
| download | rust-e34368b48d9f3f0ce2e652be69ac1b76e751a2a5.tar.gz rust-e34368b48d9f3f0ce2e652be69ac1b76e751a2a5.zip | |
Improve wording of `manual_contains` docs
This is mainly to avoid the phrase "more fast" since that is not idiomatic English
| -rw-r--r-- | clippy_lints/src/methods/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index c507407d85c..bc159206985 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 |
