mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/master' into swift-3-indexing-model
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user