We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2caa21 commit 2152a11Copy full SHA for 2152a11
Sources/LLVM/Units.swift
@@ -261,7 +261,7 @@ extension Size: UnsignedInteger {
261
}
262
263
public static func |= (lhs: inout Size, rhs: Size) {
264
- lhs = Size(lhs.rawValue & rhs.rawValue)
+ lhs = Size(lhs.rawValue | rhs.rawValue)
265
266
267
public static func ^= (lhs: inout Size, rhs: Size) {
@@ -273,7 +273,7 @@ extension Size: UnsignedInteger {
273
274
275
public static func <<= <RHS: BinaryInteger>(lhs: inout Size, rhs: RHS) {
276
- lhs = Size(lhs.rawValue >> rhs)
+ lhs = Size(lhs.rawValue << rhs)
277
278
279
public static prefix func ~ (x: Size) -> Size {
0 commit comments