Skip to content

Commit

Permalink
Fix clippy errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
macklin-10x committed Aug 7, 2024
1 parent b16f662 commit a3b8251
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1549,7 +1549,6 @@ mod shard_tests {
use std::fmt::Debug;
use std::hash::Hash;
use std::iter::{repeat, FromIterator};
use std::u8;

#[derive(Copy, Clone, Eq, PartialEq, Serialize, Deserialize, Debug, PartialOrd, Ord, Hash)]
struct T1 {
Expand Down Expand Up @@ -2065,7 +2064,7 @@ mod shard_tests {
chunks.len() <= 256,
"chunks > |T1.d| ({} > {})",
chunks.len(),
u8::max_value()
u8::MAX
);
for c in chunks {
let itr = set_reader.iter_range(&c)?;
Expand Down

0 comments on commit a3b8251

Please sign in to comment.