Skip to content

Commit

Permalink
fix tidy error
Browse files Browse the repository at this point in the history
  • Loading branch information
thekuom committed Mar 4, 2020
1 parent b4788a7 commit ea7b3c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/ui/or-patterns/slice-patterns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ fn main() {
// path 3a
assert_eq!(test(&foo[1..3]), MatchArm::Arm(2));
// path 3b
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)]),
MatchArm::Arm(2));
// path 4
assert_eq!(test(&foo[4..]), MatchArm::Wild);
}

0 comments on commit ea7b3c3

Please sign in to comment.