From 16b8b1ddb3d1d8b355160e43a970e71b3854724f Mon Sep 17 00:00:00 2001 From: Mac L Date: Sat, 27 Jul 2024 01:47:03 +1000 Subject: [PATCH] Fix tests --- ssz/src/bitfield.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ssz/src/bitfield.rs b/ssz/src/bitfield.rs index 1003956..551a11f 100644 --- a/ssz/src/bitfield.rs +++ b/ssz/src/bitfield.rs @@ -80,7 +80,8 @@ pub type BitVector = Bitfield>; /// - `BitVector` is an alias for `Bitfield>` /// /// ``` -/// 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 @@ -152,8 +153,9 @@ impl Bitfield> { /// /// ## Example /// ``` - /// use ssz_types::{BitList, typenum}; + /// use ssz::BitList; /// use smallvec::SmallVec; + /// use typenum; /// /// type BitList8 = BitList; /// @@ -280,8 +282,9 @@ impl Bitfield> { /// /// ## Example /// ``` - /// use ssz_types::{BitVector, typenum}; + /// use ssz::BitVector; /// use smallvec::SmallVec; + /// use typenum; /// /// type BitVector4 = BitVector; ///