File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Sources/SwiftParser/Lexer Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -249,11 +249,12 @@ extension UInt8 {
249249
250250/// Allows direct comparisons between UInt8 and double quoted literals.
251251extension UInt8 {
252- /// Basic equality operators
252+ /// Equality operator
253253 @_transparent
254254 static func == ( i: Self , s: Unicode . Scalar ) -> Bool {
255255 return i == UInt8 ( ascii: s)
256256 }
257+ /// Inequality operator
257258 @_transparent
258259 static func != ( i: Self , s: Unicode . Scalar ) -> Bool {
259260 return i != UInt8 ( ascii: s)
@@ -266,11 +267,12 @@ extension UInt8 {
266267}
267268
268269extension UInt8 ? {
269- /// Basic equality operators
270+ /// Equality operator
270271 @_transparent
271272 static func == ( i: Self , s: Unicode . Scalar ) -> Bool {
272273 return i == UInt8 ( ascii: s)
273274 }
275+ /// Inequality operator
274276 @_transparent
275277 static func != ( i: Self , s: Unicode . Scalar ) -> Bool {
276278 return i != UInt8 ( ascii: s)
You can’t perform that action at this time.
0 commit comments