mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
This commit is contained in:
@@ -48,7 +48,7 @@ public protocol _ArrayBufferProtocol : MutableCollection {
|
||||
minimumCapacity minimumCapacity: Int
|
||||
) -> _ContiguousArrayBuffer<Element>?
|
||||
|
||||
/// Returns true iff this buffer is backed by a uniquely-referenced mutable
|
||||
/// Returns `true` iff this buffer is backed by a uniquely-referenced mutable
|
||||
/// _ContiguousArrayBuffer.
|
||||
///
|
||||
/// - Note: This function must remain mutating; otherwise the buffer
|
||||
@@ -105,8 +105,8 @@ public protocol _ArrayBufferProtocol : MutableCollection {
|
||||
/// element. Otherwise, `nil`.
|
||||
var firstElementAddress: UnsafeMutablePointer<Element> { get }
|
||||
|
||||
/// Return a base address to which you can add an index `i` to get the address
|
||||
/// of the corresponding element at `i`.
|
||||
/// Returns a base address to which you can add an index `i` to get the
|
||||
/// address of the corresponding element at `i`.
|
||||
var subscriptBaseAddress: UnsafeMutablePointer<Element> { get }
|
||||
|
||||
/// Like `subscriptBaseAddress`, but can assume that `self` is a mutable,
|
||||
|
||||
Reference in New Issue
Block a user