Skip to content

Commit 242b4c4

Browse files
committed
cleanup for linter and erroneous unused code
1 parent 50b3815 commit 242b4c4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

crates/rsonpath-lib/src/query/automaton/minimizer.rs

-1
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,6 @@ mod tests {
609609
// Query = $..a.*
610610
let label = Label::new("a");
611611
let label = (&label).into();
612-
"a";
613612

614613
let nfa = NondeterministicAutomaton {
615614
ordered_states: vec![

crates/rsonpath-lib/src/query/nonnegative_array_index.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ mod tests {
9090

9191
#[test]
9292
fn index_ulimit_sanity_check() {
93-
assert_eq!(9007199254740991, ARRAY_INDEX_ULIMIT);
93+
assert_eq!(9_007_199_254_740_991, ARRAY_INDEX_ULIMIT);
9494
}
9595

9696
#[test]

0 commit comments

Comments
 (0)