Skip to content

Commit f181a6e

Browse files
[stdlib] Remove return comments
1 parent 4c894b9 commit f181a6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/IntegerParsing.swift.gyb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ internal func _parseAsciiAsUIntMax(
8080
else { return nil }
8181
// Disallow < 0.
8282
if hasMinus && result != 0 { return nil }
83-
// Return.
83+
8484
return result
8585
}
8686

@@ -102,7 +102,7 @@ internal func _parseAsciiAsIntMax(
102102
guard let absValue =
103103
_parseUnsignedAsciiAsUIntMax(digitsUTF16, radix, absValueMax)
104104
else { return nil }
105-
// Return signed result.
105+
// Convert to signed.
106106
return IntMax(bitPattern: hasMinus ? 0 &- absValue : absValue)
107107
}
108108

0 commit comments

Comments
 (0)