Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines

This commit is contained in:
Dmitri Gribenko
2016-02-17 14:40:05 -08:00
450 changed files with 8406 additions and 5202 deletions

View File

@@ -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,