Skip to content

Commit

Permalink
Addressed PR coments
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmishra2005 committed May 14, 2021
1 parent 7d83f98 commit 9013bf2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/ui-toml/min_rust_version/min_rust_version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ fn option_as_ref_deref() {
}

fn match_like_matches() {
let _y = matches!(Some(5), Some(0));
let _y = match Some(5) {
Some(0) => true,
_ => false,
};
}

fn match_same_arms() {
Expand Down

0 comments on commit 9013bf2

Please sign in to comment.