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:
@@ -44,8 +44,9 @@ public protocol _ArrayBufferProtocol : MutableCollection {
|
||||
/// may acquire spurious extra references, which will cause
|
||||
/// unnecessary reallocation.
|
||||
@warn_unused_result
|
||||
mutating func requestUniqueMutableBackingBuffer(minimumCapacity: Int)
|
||||
-> _ContiguousArrayBuffer<Element>?
|
||||
mutating func requestUniqueMutableBackingBuffer(
|
||||
minimumCapacity minimumCapacity: Int
|
||||
) -> _ContiguousArrayBuffer<Element>?
|
||||
|
||||
/// Returns true iff this buffer is backed by a uniquely-referenced mutable
|
||||
/// _ContiguousArrayBuffer.
|
||||
|
||||
Reference in New Issue
Block a user