Skip to content

Commit 27defcd

Browse files
Addressed PR coments
1 parent 34055a9 commit 27defcd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/tools/clippy/tests/ui-toml/min_rust_version/min_rust_version.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ fn option_as_ref_deref() {
3131
}
3232

3333
fn match_like_matches() {
34-
let _y = matches!(Some(5), Some(0));
34+
let _y = match Some(5) {
35+
Some(0) => true,
36+
_ => false,
37+
};
3538
}
3639

3740
fn match_same_arms() {

0 commit comments

Comments
 (0)