Skip to content

Commit 9ccf71e

Browse files
committed
[stdlib] More MutableCollection fix to _SmallString
1 parent 53db35c commit 9ccf71e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/core/SmallString.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ extension _SmallString: RandomAccessCollection, MutableCollection {
201201
// This setter is required for _SmallString to be a valid MutableCollection.
202202
// Since _SmallString is internal and this setter unused, we cheat.
203203
@_alwaysEmitIntoClient set { fatalError() }
204+
@_alwaysEmitIntoClient _modify { fatalError() }
204205
}
205206
}
206207

0 commit comments

Comments
 (0)