improve stdlib hygiene a bit.

Swift SVN r28392
This commit is contained in:
Chris Lattner
2015-05-10 02:55:18 +00:00
parent 1968b85a03
commit c1df892d47
44 changed files with 135 additions and 138 deletions

View File

@@ -61,7 +61,7 @@ extension String {
public func successor() -> Index {
var scratch = _ScratchGenerator(_core, _position)
var decoder = UTF16()
let (result, length) = decoder._decodeOne(&scratch)
let (_, length) = decoder._decodeOne(&scratch)
return Index(_position + length, _core)
}