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 8b3cb86 commit 37737a1Copy full SHA for 37737a1
stdlib/public/core/SmallString.swift
@@ -79,7 +79,7 @@ internal struct _SmallString {
79
extension _SmallString {
80
@inlinable @inline(__always)
81
internal static var capacity: Int {
82
-#if _pointerBitWidth(_32) && os(watchOS)
+#if os(watchOS) && _pointerBitWidth(_32)
83
return 10
84
#elseif _pointerBitWidth(_32) || _pointerBitWidth(_16)
85
// Note: changed from 10 for contiguous storage.
@@ -95,7 +95,7 @@ extension _SmallString {
95
96
@_alwaysEmitIntoClient @inline(__always)
97
internal static func contiguousCapacity() -> Int {
98
99
return capacity &- 2
100
#else
101
return capacity
0 commit comments