Skip to content

Commit 9802c4c

Browse files
committed
Fix typo in the BitAndAssign operator documentation
1 parent aef5ca5 commit 9802c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/ops.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1645,7 +1645,7 @@ rem_assign_impl! { usize u8 u16 u32 u64 isize i8 i16 i32 i64 f32 f64 }
16451645
#[lang = "bitand_assign"]
16461646
#[stable(feature = "op_assign_traits", since = "1.8.0")]
16471647
pub trait BitAndAssign<Rhs=Self> {
1648-
/// The method for the `&` operator
1648+
/// The method for the `&=` operator
16491649
#[stable(feature = "op_assign_traits", since = "1.8.0")]
16501650
fn bitand_assign(&mut self, Rhs);
16511651
}

0 commit comments

Comments
 (0)