@@ -196,7 +196,7 @@ pub trait Drop {
196
196
fn drop ( & mut self ) ;
197
197
}
198
198
199
- /// The `Add` trait is used to specify the functionality of `+`.
199
+ /// The addition operator `+`.
200
200
///
201
201
/// # Examples
202
202
///
@@ -269,7 +269,7 @@ macro_rules! add_impl {
269
269
270
270
add_impl ! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
271
271
272
- /// The `Sub` trait is used to specify the functionality of `-`.
272
+ /// The subtraction operator `-`.
273
273
///
274
274
/// # Examples
275
275
///
@@ -342,7 +342,7 @@ macro_rules! sub_impl {
342
342
343
343
sub_impl ! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
344
344
345
- /// The `Mul` trait is used to specify the functionality of `*`.
345
+ /// The multiplication operator `*`.
346
346
///
347
347
/// # Examples
348
348
///
@@ -464,7 +464,7 @@ macro_rules! mul_impl {
464
464
465
465
mul_impl ! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
466
466
467
- /// The `Div` trait is used to specify the functionality of `/`.
467
+ /// The division operator `/`.
468
468
///
469
469
/// # Examples
470
470
///
@@ -609,7 +609,7 @@ macro_rules! div_impl_float {
609
609
610
610
div_impl_float ! { f32 f64 }
611
611
612
- /// The `Rem` trait is used to specify the functionality of `%`.
612
+ /// The remainder operator `%`.
613
613
///
614
614
/// # Examples
615
615
///
@@ -689,7 +689,7 @@ macro_rules! rem_impl_float {
689
689
690
690
rem_impl_float ! { f32 f64 }
691
691
692
- /// The `Neg` trait is used to specify the functionality of unary `-`.
692
+ /// The unary negation operator `-`.
693
693
///
694
694
/// # Examples
695
695
///
@@ -768,7 +768,7 @@ macro_rules! neg_impl_unsigned {
768
768
// neg_impl_unsigned! { usize u8 u16 u32 u64 }
769
769
neg_impl_numeric ! { isize i8 i16 i32 i64 i128 f32 f64 }
770
770
771
- /// The `Not` trait is used to specify the functionality of unary `!`.
771
+ /// The unary logical negation operator `!`.
772
772
///
773
773
/// # Examples
774
774
///
@@ -826,7 +826,7 @@ macro_rules! not_impl {
826
826
827
827
not_impl ! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
828
828
829
- /// The `BitAnd` trait is used to specify the functionality of `&`.
829
+ /// The bitwise AND operator `&`.
830
830
///
831
831
/// # Examples
832
832
///
@@ -909,7 +909,7 @@ macro_rules! bitand_impl {
909
909
910
910
bitand_impl ! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
911
911
912
- /// The `BitOr` trait is used to specify the functionality of `|`.
912
+ /// The bitwise OR operator `|`.
913
913
///
914
914
/// # Examples
915
915
///
@@ -992,7 +992,7 @@ macro_rules! bitor_impl {
992
992
993
993
bitor_impl ! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
994
994
995
- /// The `BitXor` trait is used to specify the functionality of `^`.
995
+ /// The bitwise XOR operator `^`.
996
996
///
997
997
/// # Examples
998
998
///
@@ -1078,7 +1078,7 @@ macro_rules! bitxor_impl {
1078
1078
1079
1079
bitxor_impl ! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
1080
1080
1081
- /// The `Shl` trait is used to specify the functionality of `<<`.
1081
+ /// The left shift operator `<<`.
1082
1082
///
1083
1083
/// # Examples
1084
1084
///
@@ -1181,7 +1181,7 @@ macro_rules! shl_impl_all {
1181
1181
1182
1182
shl_impl_all ! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 isize i128 }
1183
1183
1184
- /// The `Shr` trait is used to specify the functionality of `>>`.
1184
+ /// The right shift operator `>>`.
1185
1185
///
1186
1186
/// # Examples
1187
1187
///
@@ -1284,7 +1284,7 @@ macro_rules! shr_impl_all {
1284
1284
1285
1285
shr_impl_all ! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize }
1286
1286
1287
- /// The `AddAssign` trait is used to specify the functionality of `+=`.
1287
+ /// The addition assignment operator `+=`.
1288
1288
///
1289
1289
/// # Examples
1290
1290
///
@@ -1340,7 +1340,7 @@ macro_rules! add_assign_impl {
1340
1340
1341
1341
add_assign_impl ! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
1342
1342
1343
- /// The `SubAssign` trait is used to specify the functionality of `-=`.
1343
+ /// The subtraction assignment operator `-=`.
1344
1344
///
1345
1345
/// # Examples
1346
1346
///
@@ -1396,7 +1396,7 @@ macro_rules! sub_assign_impl {
1396
1396
1397
1397
sub_assign_impl ! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
1398
1398
1399
- /// The `MulAssign` trait is used to specify the functionality of `*=`.
1399
+ /// The multiplication assignment operator `*=`.
1400
1400
///
1401
1401
/// # Examples
1402
1402
///
@@ -1441,7 +1441,7 @@ macro_rules! mul_assign_impl {
1441
1441
1442
1442
mul_assign_impl ! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
1443
1443
1444
- /// The `DivAssign` trait is used to specify the functionality of `/=`.
1444
+ /// The division assignment operator `/=`.
1445
1445
///
1446
1446
/// # Examples
1447
1447
///
@@ -1485,7 +1485,7 @@ macro_rules! div_assign_impl {
1485
1485
1486
1486
div_assign_impl ! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
1487
1487
1488
- /// The `RemAssign` trait is used to specify the functionality of `%=`.
1488
+ /// The remainder assignment operator `%=`.
1489
1489
///
1490
1490
/// # Examples
1491
1491
///
@@ -1529,7 +1529,7 @@ macro_rules! rem_assign_impl {
1529
1529
1530
1530
rem_assign_impl ! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
1531
1531
1532
- /// The `BitAndAssign` trait is used to specify the functionality of `&=`.
1532
+ /// The bitwise AND assignment operator `&=`.
1533
1533
///
1534
1534
/// # Examples
1535
1535
///
@@ -1615,7 +1615,7 @@ macro_rules! bitand_assign_impl {
1615
1615
1616
1616
bitand_assign_impl ! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
1617
1617
1618
- /// The `BitOrAssign` trait is used to specify the functionality of `|=`.
1618
+ /// The bitwise OR assignment operator `|=`.
1619
1619
///
1620
1620
/// # Examples
1621
1621
///
@@ -1659,7 +1659,7 @@ macro_rules! bitor_assign_impl {
1659
1659
1660
1660
bitor_assign_impl ! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
1661
1661
1662
- /// The `BitXorAssign` trait is used to specify the functionality of `^=`.
1662
+ /// The bitwise XOR assignment operator `^=`.
1663
1663
///
1664
1664
/// # Examples
1665
1665
///
@@ -1703,7 +1703,7 @@ macro_rules! bitxor_assign_impl {
1703
1703
1704
1704
bitxor_assign_impl ! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
1705
1705
1706
- /// The `ShlAssign` trait is used to specify the functionality of `<<=`.
1706
+ /// The left shift assignment operator `<<=`.
1707
1707
///
1708
1708
/// # Examples
1709
1709
///
@@ -1768,7 +1768,7 @@ macro_rules! shl_assign_impl_all {
1768
1768
1769
1769
shl_assign_impl_all ! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize }
1770
1770
1771
- /// The `ShrAssign` trait is used to specify the functionality of `>>=`.
1771
+ /// The right shift assignment operator `>>=`.
1772
1772
///
1773
1773
/// # Examples
1774
1774
///
0 commit comments