We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5114ea4 commit ce8d8a2Copy full SHA for ce8d8a2
Sources/_StringProcessing/Engine/MEBuiltins.swift
@@ -190,7 +190,7 @@ extension String {
190
limitedBy end: String.Index,
191
isScalarSemantics: Bool
192
) -> QuickResult<String.Index?> {
193
- guard currentPosition < end else { return .definite(nil) }
+ assert(currentPosition < end)
194
guard let (asciiValue, next, isCRLF) = _quickASCIICharacter(
195
at: currentPosition, limitedBy: end
196
) else {
0 commit comments