Skip to content

Commit

Permalink
Delint
Browse files Browse the repository at this point in the history
Address a lint triggered in the just-released Rust 1.76
  • Loading branch information
jwodder committed Feb 8, 2024
1 parent 8402f6c commit 337f8dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ mod tests {

#[test]
fn test_fast_not_exist_is_sorted() {
assert!(FAST_NOT_EXIST.windows(2).all(|ab| ab[0] < ab[1]));
assert!(FAST_NOT_EXIST.windows(2).all(|ab| {
assert!(ab.len() >= 2);
ab[0] < ab[1]
}));
}
}

0 comments on commit 337f8dd

Please sign in to comment.