mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[stdlib] Add an unsafe U[M]BP initializer to work around some inliner test failures
This commit is contained in:
@@ -902,7 +902,7 @@ extension _StringObject {
|
||||
return sharedUTF8
|
||||
}
|
||||
return UnsafeBufferPointer(
|
||||
start: self.nativeUTF8Start, count: self.largeCount)
|
||||
_uncheckedStart: self.nativeUTF8Start, count: self.largeCount)
|
||||
}
|
||||
|
||||
// Whether the object stored can be bridged directly as a NSString
|
||||
|
||||
Reference in New Issue
Block a user