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.
2 parents 16dc4f8 + 44d8dad commit 049dc7fCopy full SHA for 049dc7f
Sources/SwiftParser/Lexer/UnicodeScalarExtensions.swift
@@ -245,24 +245,6 @@ extension UInt8 {
245
}
246
247
/// Allows direct comparisons between UInt8 and double quoted literals.
248
-extension UInt8 {
249
- /// Equality operator
250
- @_transparent
251
- static func == (i: Self, s: Unicode.Scalar) -> Bool {
252
- return i == UInt8(ascii: s)
253
- }
254
- /// Inequality operator
255
256
- static func != (i: Self, s: Unicode.Scalar) -> Bool {
257
- return i != UInt8(ascii: s)
258
259
- /// Used in switch statements
260
261
- static func ~= (s: Unicode.Scalar, i: Self) -> Bool {
262
263
264
-}
265
-
266
extension UInt8? {
267
/// Equality operator
268
@_transparent
0 commit comments