From 37ad7e0e32bc022478be2bef56badd7d3aa3ff3d Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 13 Jan 2016 18:03:02 +0200 Subject: [PATCH] typo fix --- bytesconv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bytesconv.go b/bytesconv.go index 3db9cdb..1ccf70e 100644 --- a/bytesconv.go +++ b/bytesconv.go @@ -107,7 +107,7 @@ func AppendUint(dst []byte, n int) []byte { func ParseUint(buf []byte) (int, error) { v, n, err := parseUintBuf(buf) if n != len(buf) { - return -1, fmt.Errorf("only %b bytes out of %d bytes exhausted when parsing int %q", n, len(buf), buf) + return -1, fmt.Errorf("only %d bytes out of %d bytes exhausted when parsing int %q", n, len(buf), buf) } return v, err }