@@ -2323,8 +2323,6 @@ macro_rules! uint_impl {
23232323 /// When starting from a slice rather than an array, fallible conversion APIs can be used:
23242324 ///
23252325 /// ```
2326- /// use std::convert::TryInto;
2327- ///
23282326 #[ doc = concat!( "fn read_be_" , stringify!( $SelfT) , "(input: &mut &[u8]) -> " , stringify!( $SelfT) , " {" ) ]
23292327 #[ doc = concat!( " let (int_bytes, rest) = input.split_at(std::mem::size_of::<" , stringify!( $SelfT) , ">());" ) ]
23302328 /// *input = rest;
@@ -2354,8 +2352,6 @@ macro_rules! uint_impl {
23542352 /// When starting from a slice rather than an array, fallible conversion APIs can be used:
23552353 ///
23562354 /// ```
2357- /// use std::convert::TryInto;
2358- ///
23592355 #[ doc = concat!( "fn read_le_" , stringify!( $SelfT) , "(input: &mut &[u8]) -> " , stringify!( $SelfT) , " {" ) ]
23602356 #[ doc = concat!( " let (int_bytes, rest) = input.split_at(std::mem::size_of::<" , stringify!( $SelfT) , ">());" ) ]
23612357 /// *input = rest;
@@ -2396,8 +2392,6 @@ macro_rules! uint_impl {
23962392 /// When starting from a slice rather than an array, fallible conversion APIs can be used:
23972393 ///
23982394 /// ```
2399- /// use std::convert::TryInto;
2400- ///
24012395 #[ doc = concat!( "fn read_ne_" , stringify!( $SelfT) , "(input: &mut &[u8]) -> " , stringify!( $SelfT) , " {" ) ]
24022396 #[ doc = concat!( " let (int_bytes, rest) = input.split_at(std::mem::size_of::<" , stringify!( $SelfT) , ">());" ) ]
24032397 /// *input = rest;
0 commit comments