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

This commit is contained in:
Max Moiseev
2015-12-17 11:00:02 -08:00
234 changed files with 3564 additions and 3732 deletions

View File

@@ -77,7 +77,7 @@ extension String {
let codeUnit = _core[--i]
if _slowPath((codeUnit >> 10) == 0b1101_11) {
if i != 0 && (_core[i - 1] >> 10) == 0b1101_10 {
--i
i -= 1
}
}
return Index(i, _core)