@@ -296,7 +296,7 @@ open class NSString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSC
296296 internal func _fastCStringContents( _ nullTerminated: Bool ) -> UnsafePointer < Int8 > ? {
297297 if type ( of: self ) == NSString . self || type ( of: self ) == NSMutableString . self {
298298 if _storage. _guts. _isContiguousASCII {
299- return unsafeBitCast ( _storage. _core . startASCII, to: UnsafePointer< Int8> . self )
299+ return unsafeBitCast ( _storage. _guts . startASCII, to: UnsafePointer< Int8> . self )
300300 }
301301 }
302302 return nil
@@ -305,7 +305,7 @@ open class NSString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSC
305305 internal var _fastContents : UnsafePointer < UniChar > ? {
306306 if type ( of: self ) == NSString . self || type ( of: self ) == NSMutableString . self {
307307 if _storage. _guts. _isContiguousUTF16 {
308- return UnsafePointer < UniChar > ( _storage. _core . startUTF16)
308+ return UnsafePointer < UniChar > ( _storage. _guts . startUTF16)
309309 }
310310 }
311311 return nil
@@ -858,7 +858,7 @@ extension NSString {
858858 if type ( of: self ) == NSString . self || type ( of: self ) == NSMutableString . self {
859859 if _storage. _guts. _isContiguousASCII {
860860 used = min ( self . length, maxBufferCount - 1 )
861- _storage. _core . startASCII. withMemoryRebound ( to: Int8 . self,
861+ _storage. _guts . startASCII. withMemoryRebound ( to: Int8 . self,
862862 capacity: used) {
863863 buffer. moveAssign ( from: $0, count: used)
864864 }
0 commit comments