mirror of
https://github.com/apple/swift-collections
synced 2026-11-25 04:37:48 +00:00
Bring back _isUTF16TrailingSurrogate
This commit is contained in:
1 file changed
+4
@@ -106,6 +106,10 @@ extension BigString.Index {
|
||||
_flags = 0
|
||||
}
|
||||
|
||||
public var _isUTF16TrailingSurrogate: Bool {
|
||||
_orderingValue & 1 != 0
|
||||
}
|
||||
|
||||
internal func _knownScalarAligned() -> Self {
|
||||
var copy = self
|
||||
copy._chunkIndex = _chunkIndex.scalarAligned
|
||||
|
||||
Reference in new issue
Block a user