aboutsummaryrefslogtreecommitdiff
path: root/src/math/big/ratconv.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/big/ratconv.go')
-rw-r--r--src/math/big/ratconv.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/big/ratconv.go b/src/math/big/ratconv.go
index 57df124e88..7c127f8585 100644
--- a/src/math/big/ratconv.go
+++ b/src/math/big/ratconv.go
@@ -178,7 +178,7 @@ func scanExponent(r io.ByteScanner, binExpOk bool) (exp int64, base int, err err
}
break // i > 0
}
- digits = append(digits, byte(ch))
+ digits = append(digits, ch)
}
// i > 0 => we have at least one digit