We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4788a7 commit ea7b3c3Copy full SHA for ea7b3c3
1 file changed
src/test/ui/or-patterns/slice-patterns.rs
@@ -46,7 +46,8 @@ fn main() {
46
// path 3a
47
assert_eq!(test(&foo[1..3]), MatchArm::Arm(2));
48
// path 3b
49
- assert_eq!(test(&[Some(Test::Bar), Some(Test::Baz), Some(Test::Baz), Some(Test::Bar)]), MatchArm::Arm(2));
+ assert_eq!(test(&[Some(Test::Bar), Some(Test::Baz), Some(Test::Baz), Some(Test::Bar)]),
50
+ MatchArm::Arm(2));
51
// path 4
52
assert_eq!(test(&foo[4..]), MatchArm::Wild);
53
}
0 commit comments