Improve wording of manual_contains docs
This is mainly to avoid the phrase "more fast" since that is not idiomatic English
This commit is contained in:
parent
beaf15532a
commit
e34368b48d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue