Skip to content

Commit 5f47dc5

Browse files
committed
fix incorrect test update
1 parent 40c38fc commit 5f47dc5

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

targets/src/csv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ mod defs {
281281
));
282282
let len = violation.len();
283283

284-
let (_, violation) = violation.split_at(len - 8);
284+
let violation = &violation[..(len - 8)];
285285

286286
let csv::Type::nonterminal_csv_records(records) = tree.go_to(idx, violation)?
287287
else {

targets/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
extern crate alloc;
99

10+
#[allow(unused)]
1011
macro_rules! maybe_deref {
1112
($value: ident) => {
1213
loop {
@@ -22,6 +23,7 @@ macro_rules! maybe_deref {
2223
};
2324
}
2425

26+
#[allow(unused)]
2527
macro_rules! maybe_deref_mut {
2628
($value: ident) => {
2729
loop {

0 commit comments

Comments
 (0)