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 ba6158d commit 336ae86Copy full SHA for 336ae86
stdlib/public/core/String.swift
@@ -540,8 +540,8 @@ extension String {
540
/// [equivalence]: http://www.unicode.org/glossary/#canonical_equivalent
541
@_fixed_layout
542
public struct String {
543
- @usableFromInline
544
- internal var _guts: _StringGuts
+ public // SPI(Foundation)
+ var _guts: _StringGuts
545
546
/// Creates an empty string.
547
///
stdlib/public/core/StringGuts.swift
@@ -137,12 +137,10 @@ extension _StringGuts {
137
return _object.isNative
138
}
139
140
-#if _runtime(_ObjC)
141
@inlinable
142
internal var _isCocoa: Bool {
143
return _object.isCocoa
144
145
-#endif
146
147
148
internal var _isUnmanaged: Bool {
0 commit comments