@@ -217,7 +217,7 @@ pub trait Int
217
217
reason = "pending integer conventions" ) ]
218
218
fn trailing_zeros ( self ) -> u32 ;
219
219
220
- /// Shifts the bits to the left by a specified amount amount , `n`, wrapping
220
+ /// Shifts the bits to the left by a specified amount, `n`, wrapping
221
221
/// the truncated bits to the end of the resulting integer.
222
222
///
223
223
/// # Examples
@@ -235,7 +235,7 @@ pub trait Int
235
235
reason = "pending integer conventions" ) ]
236
236
fn rotate_left ( self , n : u32 ) -> Self ;
237
237
238
- /// Shifts the bits to the right by a specified amount amount , `n`, wrapping
238
+ /// Shifts the bits to the right by a specified amount, `n`, wrapping
239
239
/// the truncated bits to the beginning of the resulting integer.
240
240
///
241
241
/// # Examples
@@ -937,7 +937,7 @@ macro_rules! int_impl {
937
937
( self as $UnsignedT) . trailing_zeros( )
938
938
}
939
939
940
- /// Shifts the bits to the left by a specified amount amount , `n`,
940
+ /// Shifts the bits to the left by a specified amount, `n`,
941
941
/// wrapping the truncated bits to the end of the resulting integer.
942
942
///
943
943
/// # Examples
@@ -957,7 +957,7 @@ macro_rules! int_impl {
957
957
( self as $UnsignedT) . rotate_left( n) as $T
958
958
}
959
959
960
- /// Shifts the bits to the right by a specified amount amount , `n`,
960
+ /// Shifts the bits to the right by a specified amount, `n`,
961
961
/// wrapping the truncated bits to the beginning of the resulting
962
962
/// integer.
963
963
///
@@ -1456,7 +1456,7 @@ macro_rules! uint_impl {
1456
1456
unsafe { $cttz( self as $ActualT) as u32 }
1457
1457
}
1458
1458
1459
- /// Shifts the bits to the left by a specified amount amount , `n`,
1459
+ /// Shifts the bits to the left by a specified amount, `n`,
1460
1460
/// wrapping the truncated bits to the end of the resulting integer.
1461
1461
///
1462
1462
/// # Examples
@@ -1478,7 +1478,7 @@ macro_rules! uint_impl {
1478
1478
( self << n) | ( self >> ( ( $BITS - n) % $BITS) )
1479
1479
}
1480
1480
1481
- /// Shifts the bits to the right by a specified amount amount , `n`,
1481
+ /// Shifts the bits to the right by a specified amount, `n`,
1482
1482
/// wrapping the truncated bits to the beginning of the resulting
1483
1483
/// integer.
1484
1484
///
0 commit comments