Skip to content

Commit 70030f9

Browse files
committed
Fix doctests
1 parent 685d3e6 commit 70030f9

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

clippy_lints/src/methods/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ declare_clippy_lint! {
110110
///
111111
/// Better:
112112
///
113-
/// ```rust
113+
/// ```ignore
114114
/// let opt = Some(1);
115115
/// opt?;
116116
/// # Some::<()>(())
@@ -139,7 +139,7 @@ declare_clippy_lint! {
139139
///
140140
/// Better:
141141
///
142-
/// ```rust
142+
/// ```
143143
/// let res: Result<usize, ()> = Ok(1);
144144
/// res?;
145145
/// # Ok::<(), ()>(())

0 commit comments

Comments
 (0)