about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authormsiglreith <msiglreith@users.noreply.github.com>2016-10-30 17:50:28 +0100
committermsiglreith <msiglreith@users.noreply.github.com>2016-10-30 17:50:28 +0100
commit9802c4c5f41791cdf9ea0049733e81f03eaeccab (patch)
tree76b7b5ec2498fe3d212d59c3f1cb1b8e7491ac21 /src/libcore
parentaef5ca5590a23799396aa656bd303731c9d96531 (diff)
downloadrust-9802c4c5f41791cdf9ea0049733e81f03eaeccab.tar.gz
rust-9802c4c5f41791cdf9ea0049733e81f03eaeccab.zip
Fix typo in the BitAndAssign operator documentation
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/ops.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs
index 72e951a7c34..3ce0d4a086e 100644
--- a/src/libcore/ops.rs
+++ b/src/libcore/ops.rs
@@ -1645,7 +1645,7 @@ rem_assign_impl! { usize u8 u16 u32 u64 isize i8 i16 i32 i64 f32 f64 }
 #[lang = "bitand_assign"]
 #[stable(feature = "op_assign_traits", since = "1.8.0")]
 pub trait BitAndAssign<Rhs=Self> {
-    /// The method for the `&` operator
+    /// The method for the `&=` operator
     #[stable(feature = "op_assign_traits", since = "1.8.0")]
     fn bitand_assign(&mut self, Rhs);
 }