Skip to content

Commit 9dd1e69

Browse files
author
John Holdsworth
committed
Update doc comments
1 parent e7fd73f commit 9dd1e69

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Sources/SwiftParser/Lexer/UnicodeScalarExtensions.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,12 @@ extension UInt8 {
249249

250250
/// Allows direct comparisons between UInt8 and double quoted literals.
251251
extension 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

268269
extension 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)

0 commit comments

Comments
 (0)