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 f81621f commit 422fb5cCopy full SHA for 422fb5c
stdlib/public/core/String.swift
@@ -349,7 +349,7 @@ internal func unimplemented_utf8_32bit(
349
/// [scalars]: http://www.unicode.org/glossary/#unicode_scalar_value
350
/// [equivalence]: http://www.unicode.org/glossary/#canonical_equivalent
351
@frozen
352
-public struct String: ConcurrentValue {
+public struct String {
353
public // @SPI(Foundation)
354
var _guts: _StringGuts
355
@@ -383,6 +383,8 @@ public struct String: ConcurrentValue {
383
public init() { self.init(_StringGuts()) }
384
}
385
386
+extension String: ConcurrentValue { }
387
+
388
extension String {
389
#if !INTERNAL_CHECKS_ENABLED
390
@inlinable @inline(__always) internal func _invariantCheck() {}
0 commit comments