Skip to content

Commit dc3602d

Browse files
committed
WIP
1 parent 62fd3f1 commit dc3602d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clippy_lints/src/manual_let_else.rs

+3
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@ declare_clippy_lint! {
3333
/// Could be written:
3434
///
3535
/// ```rust
36+
/// # #![feature(let_else)]
37+
/// # fn main () {
3638
/// # let w = Some(0);
3739
/// let Some(v) = w else { return };
40+
/// # }
3841
/// ```
3942
#[clippy::version = "1.60.0"]
4043
pub MANUAL_LET_ELSE,

0 commit comments

Comments
 (0)