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:
@@ -124,7 +124,7 @@ struct _HeapBuffer<Value, Element> : Equatable {
|
||||
return (_allocatedSize(), _allocatedAlignMask())
|
||||
}
|
||||
|
||||
/// Return the actual number of `Elements` we can possibly store.
|
||||
/// Returns the actual number of `Elements` we can possibly store.
|
||||
@warn_unused_result
|
||||
func _capacity() -> Int {
|
||||
return (_allocatedSize() - _HeapBuffer._elementOffset())
|
||||
|
||||
Reference in New Issue
Block a user