Skip to content

Commit 1fd9f2d

Browse files
committed
Fix tests
1 parent 307b800 commit 1fd9f2d

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ declare_clippy_lint! {
206206
/// ```
207207
///
208208
/// Otherwise try using
209-
/// ```rust
209+
/// ```rust,ignore
210+
/// # let option = Some(1);
211+
/// # let result: Result<usize, ()> = Ok(1);
210212
/// option?;
211213
///
212214
/// // or

0 commit comments

Comments
 (0)