Merge remote-tracking branch 'origin/master' into swift-3-indexing-model

This commit is contained in:
Dmitri Gribenko
2016-04-16 00:30:12 -07:00
173 changed files with 5082 additions and 4411 deletions

View File

@@ -333,7 +333,7 @@ public struct _StringCore {
/// Write the string, in the given encoding, to output.
func encode<
Encoding: UnicodeCodec
>(_ encoding: Encoding.Type, @noescape output: (Encoding.CodeUnit) -> Void)
>(_ encoding: Encoding.Type, output: @noescape (Encoding.CodeUnit) -> Void)
{
if _fastPath(_baseAddress != nil) {
if _fastPath(elementWidth == 1) {