Skip to content

Commit

Permalink
Rollup merge of #37486 - msiglreith:pr_doc_bitandassign, r=apasel422
Browse files Browse the repository at this point in the history
Fix typo in the BitAndAssign operator documentation

The name of the operator should be `&=` instead of `&`.
  • Loading branch information
GuillaumeGomez authored Oct 31, 2016
2 parents aa80a8c + 9802c4c commit 0a59eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0a59eba

Please sign in to comment.