Skip to content

Commit 31a6ab4

Browse files
author
BO41
committed
Fix lint doc
1 parent eebb7cd commit 31a6ab4

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ declare_clippy_lint! {
433433
/// Could be written as
434434
/// ```rust
435435
/// # let vec = vec![1];
436-
/// vec.iter().any(|x| **x == 0);
436+
/// vec.iter().any(|x| *x == 0);
437437
/// ```
438438
pub SEARCH_IS_SOME,
439439
complexity,

0 commit comments

Comments
 (0)