mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
This commit is contained in:
@@ -229,7 +229,8 @@ extension _ArrayBuffer {
|
||||
return result
|
||||
}
|
||||
|
||||
/// Returns a `_SliceBuffer` containing the elements in `bounds`.
|
||||
/// Returns a `_SliceBuffer` containing the given sub-range of elements in
|
||||
/// `bounds` from this buffer.
|
||||
public subscript(bounds: Range<Int>) -> _SliceBuffer<Element> {
|
||||
get {
|
||||
_typeCheck(bounds)
|
||||
|
||||
Reference in New Issue
Block a user