Skip to content

Commit

Permalink
Fix typing in Bucket testing
Browse files Browse the repository at this point in the history
  • Loading branch information
NobodyXu authored Sep 11, 2024
1 parent ee71224 commit 1e3384b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bucket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ mod tests {

use rayon::prelude::*;

const LEN: usize = usize::BITS as usize;
type Bucket<T> = super::Bucket<T, 1, { LEN }>;
const LEN: usize = usize::BITS
type Bucket<T> = super::Bucket<T, 1, { LEN as usize }>;

#[test]
fn test_basic() {
Expand Down

0 comments on commit 1e3384b

Please sign in to comment.