Skip to content

Commit 3463852

Browse files
tkawakitaianlancetaylor
authored andcommitted
math/big: fix typo of comment (BytesScanner to ByteScanner)
Change-Id: I0c2d26d6ede1452008992efbea7392162da65014 Reviewed-on: https://go-review.googlesource.com/c/go/+/331651 Reviewed-by: Robert Griesemer <gri@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
1 parent fd4b587 commit 3463852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/math/big/int.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ func (z *Int) SetString(s string, base int) (*Int, bool) {
425425
return z.setFromScanner(strings.NewReader(s), base)
426426
}
427427

428-
// setFromScanner implements SetString given an io.BytesScanner.
428+
// setFromScanner implements SetString given an io.ByteScanner.
429429
// For documentation see comments of SetString.
430430
func (z *Int) setFromScanner(r io.ByteScanner, base int) (*Int, bool) {
431431
if _, _, err := z.scan(r, base); err != nil {

0 commit comments

Comments
 (0)