Skip to content

Commit

Permalink
Update aptos-bitvec/src/lib.rs (aptos-labs#10045)
Browse files Browse the repository at this point in the history
There is a mistake in the comment
  • Loading branch information
stevekeol authored and Poytr1 committed Oct 4, 2023
1 parent a770829 commit e75ec28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/aptos-bitvec/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use std::{
ops::{BitAnd, BitOr},
};

// Every u8 is used as a bucket of 8 bits. Total max buckets = 65536 / 8 = 8196.
// Every u8 is used as a bucket of 8 bits. Total max buckets = 65536 / 8 = 8192.
const BUCKET_SIZE: usize = 8;
const MAX_BUCKETS: usize = 8192;

Expand Down

0 comments on commit e75ec28

Please sign in to comment.