Skip to content

Commit d514c20

Browse files
committed
Fix byte_char_slices lint in codabar test
1 parent ba073db commit d514c20

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/codabar.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ fn assert_lossless(start: u8, data: &[u8], stop: u8) {
2424

2525
#[test]
2626
fn start_stop_pairs() {
27-
for start in [b'A', b'B', b'C', b'D'] {
28-
for stop in [b'A', b'B', b'C', b'D'] {
27+
for start in *b"ABCD" {
28+
for stop in *b"ABCD" {
2929
assert_lossless(start, b"1234", stop);
3030
}
3131
}

0 commit comments

Comments
 (0)