@@ -109,10 +109,12 @@ not_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
109
109
/// fn bitand(self, Self(rhs): Self) -> Self::Output {
110
110
/// let Self(lhs) = self;
111
111
/// assert_eq!(lhs.len(), rhs.len());
112
- /// Self(lhs.iter()
112
+ /// Self(
113
+ /// lhs.iter()
113
114
/// .zip(rhs.iter())
114
115
/// .map(|(x, y)| *x & *y)
115
- /// .collect())
116
+ /// .collect()
117
+ /// )
116
118
/// }
117
119
/// }
118
120
///
@@ -207,10 +209,12 @@ bitand_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
207
209
/// fn bitor(self, Self(rhs): Self) -> Self::Output {
208
210
/// let Self(lhs) = self;
209
211
/// assert_eq!(lhs.len(), rhs.len());
210
- /// Self(lhs.iter()
212
+ /// Self(
213
+ /// lhs.iter()
211
214
/// .zip(rhs.iter())
212
215
/// .map(|(x, y)| *x | *y)
213
- /// .collect())
216
+ /// .collect()
217
+ /// )
214
218
/// }
215
219
/// }
216
220
///
@@ -305,10 +309,12 @@ bitor_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
305
309
/// fn bitxor(self, Self(rhs): Self) -> Self::Output {
306
310
/// let Self(lhs) = self;
307
311
/// assert_eq!(lhs.len(), rhs.len());
308
- /// Self(lhs.iter()
312
+ /// Self(
313
+ /// lhs.iter()
309
314
/// .zip(rhs.iter())
310
315
/// .map(|(x, y)| *x ^ *y)
311
- /// .collect())
316
+ /// .collect()
317
+ /// )
312
318
/// }
313
319
/// }
314
320
///
@@ -646,11 +652,13 @@ shr_impl_all! { u8 u16 u32 u64 u128 usize i8 i16 i32 i64 i128 isize }
646
652
/// // `rhs` is the "right-hand side" of the expression `a &= b`.
647
653
/// fn bitand_assign(&mut self, rhs: Self) {
648
654
/// assert_eq!(self.0.len(), rhs.0.len());
649
- /// *self = Self(self.0
650
- /// .iter()
651
- /// .zip(rhs.0.iter())
652
- /// .map(|(x, y)| *x & *y)
653
- /// .collect());
655
+ /// *self = Self(
656
+ /// self.0
657
+ /// .iter()
658
+ /// .zip(rhs.0.iter())
659
+ /// .map(|(x, y)| *x & *y)
660
+ /// .collect()
661
+ /// );
654
662
/// }
655
663
/// }
656
664
///
0 commit comments