Skip to content

Commit a05c272

Browse files
committed
fix(semantic): correct comment on AstTypesBitset
1 parent f00adbe commit a05c272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/oxc_semantic/src/ast_types_bitset.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use oxc_ast::{AstType, ast_kind::AST_TYPE_MAX};
22

33
const USIZE_BITS: usize = usize::BITS as usize;
44

5-
/// Number of bytes required for bit set which can represent all [`AstType`]s.
5+
/// Number of `usizes` required for bit set which can represent all [`AstType`]s.
66
// Need to add plus one here because 0 is a possible value, but requires at least one bit to represent it.
77
const NUM_USIZES: usize = (AST_TYPE_MAX as usize + 1).div_ceil(USIZE_BITS);
88

0 commit comments

Comments
 (0)