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-api-guidelines
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user