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

@@ -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())