about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/core/src/ops/bit.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ops/bit.rs b/library/core/src/ops/bit.rs
index 3dae57938be..b91f87be90a 100644
--- a/library/core/src/ops/bit.rs
+++ b/library/core/src/ops/bit.rs
@@ -307,7 +307,7 @@ bitor_impl! { bool usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 }
 ///         assert_eq!(lhs.len(), rhs.len());
 ///         Self(lhs.iter()
 ///                 .zip(rhs.iter())
-///                 .map(|(x, y)| *x ^ *y))
+///                 .map(|(x, y)| *x ^ *y)
 ///                 .collect())
 ///     }
 /// }