From e75ec28b3c84e975b028fa64c8f559b2b674e39a Mon Sep 17 00:00:00 2001 From: Jiege Date: Mon, 25 Sep 2023 14:25:28 +0800 Subject: [PATCH] Update aptos-bitvec/src/lib.rs (#10045) There is a mistake in the comment --- crates/aptos-bitvec/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/aptos-bitvec/src/lib.rs b/crates/aptos-bitvec/src/lib.rs index 1060cfe365cf5..f1b012e673864 100644 --- a/crates/aptos-bitvec/src/lib.rs +++ b/crates/aptos-bitvec/src/lib.rs @@ -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;