mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
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:
@@ -4439,7 +4439,7 @@
|
||||
/// 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
|
||||
|
||||
Reference in New Issue
Block a user