Skip to content

Commit 37737a1

Browse files
committed
[gardening] conditional compilation spelling tweak
1 parent 8b3cb86 commit 37737a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/SmallString.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ internal struct _SmallString {
7979
extension _SmallString {
8080
@inlinable @inline(__always)
8181
internal static var capacity: Int {
82-
#if _pointerBitWidth(_32) && os(watchOS)
82+
#if os(watchOS) && _pointerBitWidth(_32)
8383
return 10
8484
#elseif _pointerBitWidth(_32) || _pointerBitWidth(_16)
8585
// Note: changed from 10 for contiguous storage.
@@ -95,7 +95,7 @@ extension _SmallString {
9595

9696
@_alwaysEmitIntoClient @inline(__always)
9797
internal static func contiguousCapacity() -> Int {
98-
#if _pointerBitWidth(_32) && os(watchOS)
98+
#if os(watchOS) && _pointerBitWidth(_32)
9999
return capacity &- 2
100100
#else
101101
return capacity

0 commit comments

Comments
 (0)