Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines

This commit is contained in:
Max Moiseev
2016-02-29 12:08:52 -08:00
438 changed files with 6898 additions and 3658 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")