Skip to content

Commit 2aede89

Browse files
committed
clippy
1 parent 28b6d71 commit 2aede89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libcc2rs-macros/tests/control_flow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ fn switch_or_pattern() {
111111
for x in [1, 2, 5] {
112112
let mut v = "other";
113113
switch!(match x {
114-
1 | 2 | 3 => {
114+
1..=3 => {
115115
v = "low";
116116
break;
117117
}

0 commit comments

Comments
 (0)