File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -600,18 +600,13 @@ impl_array_sizes_with_import! {
600600#[ allow( missing_docs) ]
601601mod extra_sizes {
602602 use super :: { ArraySize , AssocArraySize } ;
603- use typenum:: {
604- consts:: { B0 , B1 } ,
605- UInt , UTerm ,
606- } ;
607-
608603 // This macro constructs a UInt type from a sequence of bits. The bits are interpreted as the
609604 // little-endian representation of the integer in question. For example, uint!(1 1 0 1 0 0 1) is
610605 // U75 (not U105).
611606 macro_rules! uint {
612- ( ) => { UTerm } ;
613- ( 0 $( $bs: tt) * ) => { UInt < uint!( $( $bs) * ) , B0 > } ;
614- ( 1 $( $bs: tt) * ) => { UInt < uint!( $( $bs) * ) , B1 > } ;
607+ ( ) => { typenum :: UTerm } ;
608+ ( 0 $( $bs: tt) * ) => { typenum :: UInt < uint!( $( $bs) * ) , typenum :: B0 > } ;
609+ ( 1 $( $bs: tt) * ) => { typenum :: UInt < uint!( $( $bs) * ) , typenum :: B1 > } ;
615610 }
616611
617612 pub type U1040 = uint ! ( 0 0 0 0 1 0 0 0 0 0 1 ) ;
You can’t perform that action at this time.
0 commit comments