mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 04:14:28 +00:00
Fix lint doc
This commit is contained in:
parent
eebb7cd839
commit
31a6ab47e1
@ -433,7 +433,7 @@ declare_clippy_lint! {
|
||||
/// Could be written as
|
||||
/// ```rust
|
||||
/// # let vec = vec![1];
|
||||
/// vec.iter().any(|x| **x == 0);
|
||||
/// vec.iter().any(|x| *x == 0);
|
||||
/// ```
|
||||
pub SEARCH_IS_SOME,
|
||||
complexity,
|
||||
|
Loading…
Reference in New Issue
Block a user