[stdlib] update for 'inout' adjustment (SE-0031)

This commit is contained in:
Daniel Duan
2016-02-26 12:02:29 -08:00
parent c9927f66f0
commit 2bc78b8c09
134 changed files with 499 additions and 499 deletions

View File

@@ -497,7 +497,7 @@ public struct _ContiguousArrayBuffer<Element> : _ArrayBufferType {
/// Append the elements of `rhs` to `lhs`.
public func += <
Element, C : CollectionType where C.Generator.Element == Element
> (inout lhs: _ContiguousArrayBuffer<Element>, rhs: C) {
> (lhs: inout _ContiguousArrayBuffer<Element>, rhs: C) {
let oldCount = lhs.count
let newCount = oldCount + numericCast(rhs.count)