mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: add first argument labels and some other changes to conform to API guidelines
This commit is contained in:
@@ -20,7 +20,7 @@ var StringTestSuite = TestSuite("String")
|
||||
|
||||
extension String {
|
||||
var bufferID: UInt {
|
||||
return unsafeBitCast(_core._owner, UInt.self)
|
||||
return unsafeBitCast(_core._owner, to: UInt.self)
|
||||
}
|
||||
var capacityInBytes: Int {
|
||||
return _core.nativeBuffer!.capacity
|
||||
|
||||
Reference in New Issue
Block a user