[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

@@ -77,8 +77,8 @@ func nthUnicodeScalar(n: UInt32) -> UnicodeScalar {
func nsEncode<CodeUnit>(
c: UInt32,
_ encoding: NSStringEncoding,
inout _ buffer: [CodeUnit],
inout _ used: Int
_ buffer: inout [CodeUnit],
_ used: inout Int
) {
var c = c
_precondition(buffer.count >= 4, "buffer is not large enough")