Skip to content

Commit b331bc0

Browse files
committed
Remove unused asserts
1 parent 6160220 commit b331bc0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Sources/_StringProcessing/Unicode/ASCII.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ extension String {
103103

104104
var next = utf8.index(after: idx)
105105
if next == end {
106-
// assert(self[idx].isASCII)
107106
return (first: base, next: next, crLF: false)
108107
}
109108

@@ -116,7 +115,6 @@ extension String {
116115
guard next == end || utf8[next]._isSub300StartingByte else {
117116
return nil
118117
}
119-
// assert(self[idx] == "\r\n")
120118
return (first: base, next: next, crLF: true)
121119
}
122120

0 commit comments

Comments
 (0)