diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2016-10-31 12:27:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-31 12:27:24 +0100 |
| commit | 0a59eba0e836e01cbb00dc70c0781c4754bd751b (patch) | |
| tree | f94ea063341a28d073fd9f3baa901d8ef66e56e4 /src | |
| parent | aa80a8c0a90db2222478f0cd71bf21a28ccfe9c6 (diff) | |
| parent | 9802c4c5f41791cdf9ea0049733e81f03eaeccab (diff) | |
| download | rust-0a59eba0e836e01cbb00dc70c0781c4754bd751b.tar.gz rust-0a59eba0e836e01cbb00dc70c0781c4754bd751b.zip | |
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 `&`.
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/ops.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index 0a86bec728e..62aa57bbbbf 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); } |
