mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 18:40:16 +01:00
Co-authored-by: Josh L <josh11b@users.noreply.github.com>
This commit is contained in:
@@ -25,7 +25,7 @@ impl i32 as BitAnd {
|
||||
}
|
||||
impl i32 as BitAndAssign {
|
||||
fn Op[addr self: Self*](other: Self) {
|
||||
*self = *self + other;
|
||||
*self = *self & other;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ impl i32 as BitOr {
|
||||
}
|
||||
impl i32 as BitOrAssign {
|
||||
fn Op[addr self: Self*](other: Self) {
|
||||
*self = *self + other;
|
||||
*self = *self | other;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ impl i32 as Core.BitAnd {
|
||||
}
|
||||
impl i32 as Core.BitAndAssign {
|
||||
fn Op[addr self: Self*](other: Self) {
|
||||
*self = *self + other;
|
||||
*self = *self & other;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ impl i32 as Core.BitOr {
|
||||
}
|
||||
impl i32 as Core.BitOrAssign {
|
||||
fn Op[addr self: Self*](other: Self) {
|
||||
*self = *self + other;
|
||||
*self = *self | other;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user