mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[String] Bounds checking and Index cleanup
This commit is contained in:
@@ -68,7 +68,6 @@ extension _StringGuts {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO(UTF8): Should probably take a String.Index, assert no transcoding
|
||||
@usableFromInline @inline(__always)
|
||||
internal func fastUTF8Scalar(startingAt i: Int) -> Unicode.Scalar {
|
||||
_sanityCheck(isFastUTF8)
|
||||
|
||||
Reference in New Issue
Block a user