Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
macladson committed Jul 26, 2024
1 parent f088a3a commit 16b8b1d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ssz/src/bitfield.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ pub type BitVector<N> = Bitfield<Fixed<N>>;
/// - `BitVector<N>` is an alias for `Bitfield<Fixed<N>>`
///
/// ```
/// use ssz_types::{BitVector, BitList, typenum};
/// use ssz::{BitVector, BitList};
/// use typenum;
///
/// // `BitList` has a type-level maximum length. The length of the list is specified at runtime
/// // and it must be less than or equal to `N`. After instantiation, `BitList` cannot grow or
Expand Down Expand Up @@ -152,8 +153,9 @@ impl<N: Unsigned + Clone> Bitfield<Variable<N>> {
///
/// ## Example
/// ```
/// use ssz_types::{BitList, typenum};
/// use ssz::BitList;
/// use smallvec::SmallVec;
/// use typenum;
///
/// type BitList8 = BitList<typenum::U8>;
///
Expand Down Expand Up @@ -280,8 +282,9 @@ impl<N: Unsigned + Clone> Bitfield<Fixed<N>> {
///
/// ## Example
/// ```
/// use ssz_types::{BitVector, typenum};
/// use ssz::BitVector;
/// use smallvec::SmallVec;
/// use typenum;
///
/// type BitVector4 = BitVector<typenum::U4>;
///
Expand Down

0 comments on commit 16b8b1d

Please sign in to comment.