@@ -2323,8 +2323,6 @@ macro_rules! uint_impl {
2323
2323
/// When starting from a slice rather than an array, fallible conversion APIs can be used:
2324
2324
///
2325
2325
/// ```
2326
- /// use std::convert::TryInto;
2327
- ///
2328
2326
#[ doc = concat!( "fn read_be_" , stringify!( $SelfT) , "(input: &mut &[u8]) -> " , stringify!( $SelfT) , " {" ) ]
2329
2327
#[ doc = concat!( " let (int_bytes, rest) = input.split_at(std::mem::size_of::<" , stringify!( $SelfT) , ">());" ) ]
2330
2328
/// *input = rest;
@@ -2354,8 +2352,6 @@ macro_rules! uint_impl {
2354
2352
/// When starting from a slice rather than an array, fallible conversion APIs can be used:
2355
2353
///
2356
2354
/// ```
2357
- /// use std::convert::TryInto;
2358
- ///
2359
2355
#[ doc = concat!( "fn read_le_" , stringify!( $SelfT) , "(input: &mut &[u8]) -> " , stringify!( $SelfT) , " {" ) ]
2360
2356
#[ doc = concat!( " let (int_bytes, rest) = input.split_at(std::mem::size_of::<" , stringify!( $SelfT) , ">());" ) ]
2361
2357
/// *input = rest;
@@ -2396,8 +2392,6 @@ macro_rules! uint_impl {
2396
2392
/// When starting from a slice rather than an array, fallible conversion APIs can be used:
2397
2393
///
2398
2394
/// ```
2399
- /// use std::convert::TryInto;
2400
- ///
2401
2395
#[ doc = concat!( "fn read_ne_" , stringify!( $SelfT) , "(input: &mut &[u8]) -> " , stringify!( $SelfT) , " {" ) ]
2402
2396
#[ doc = concat!( " let (int_bytes, rest) = input.split_at(std::mem::size_of::<" , stringify!( $SelfT) , ">());" ) ]
2403
2397
/// *input = rest;
0 commit comments