Rollup merge of #37486 - msiglreith:pr_doc_bitandassign, r=apasel422

Fix typo in the BitAndAssign operator documentation

The name of the operator should be `&=` instead of `&`.
This commit is contained in:
Guillaume Gomez 2016-10-31 12:27:24 +01:00 committed by GitHub
commit 0a59eba0e8

View File

@ -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);
}