Skip to content

Commit 8e26004

Browse files
dvermdflip1995
andcommitted
Update clippy_lints/src/ref_option_ref.rs doctest
Co-authored-by: Philipp Krones <hello@philkrones.com>
1 parent 2270ff4 commit 8e26004

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clippy_lints/src/ref_option_ref.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@ declare_clippy_lint! {
1717
/// **Example:**
1818
///
1919
/// ```rust,ignore
20-
/// // example code where clippy issues a warning
2120
/// let x: &Option<&u32> = &Some(&0u32);
2221
/// ```
2322
/// Use instead:
2423
/// ```rust,ignore
25-
/// // example code which does not raise clippy warning
2624
/// let x: Option<&u32> = Some(&0u32);
2725
/// ```
2826
pub REF_OPTION_REF,

0 commit comments

Comments
 (0)