Skip to content

Commit

Permalink
correct and Update bit_size.cairo (#7030)
Browse files Browse the repository at this point in the history
  • Loading branch information
GooseMatrix authored Jan 9, 2025
1 parent 845948a commit cc75daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corelib/src/num/traits/bit_size.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub trait BitSize<T> {
/// use core::num::traits::BitSize;
///
/// let bits = BitSize::<u8>::bits();
/// assert(bits == 8);
/// assert!(bits == 8);
/// ```
#[must_use]
fn bits() -> usize;
Expand Down

0 comments on commit cc75daa

Please sign in to comment.