Skip to content

Commit 8896ea2

Browse files
jakebaileyCopilot
andauthored
Update internal/jsnum/jsnum.go
Co-authored-by: Copilot <[email protected]>
1 parent 96d5404 commit 8896ea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/jsnum/jsnum.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func (x Number) toUint32() uint32 {
5050
func (n Number) toInt32() int32 {
5151
x := float64(n)
5252

53-
// Fast path: if the number is the range (-2^31, 2^32), i.e. an SMI,
53+
// Fast path: if the number is in the range (-2^31, 2^32), i.e. an SMI,
5454
// then we don't need to do any special mapping.
5555
if smi := int32(x); float64(smi) == x {
5656
return smi

0 commit comments

Comments
 (0)