diff options
Diffstat (limited to 'vendor/github.com/paulrosania/go-charset/charset/ascii.go')
-rw-r--r-- | vendor/github.com/paulrosania/go-charset/charset/ascii.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/paulrosania/go-charset/charset/ascii.go b/vendor/github.com/paulrosania/go-charset/charset/ascii.go index ccf3a35b..0e73d066 100644 --- a/vendor/github.com/paulrosania/go-charset/charset/ascii.go +++ b/vendor/github.com/paulrosania/go-charset/charset/ascii.go @@ -21,7 +21,7 @@ type codePointError struct { } func (e *codePointError) Error() string { - return fmt.Sprintf("Parse error at index %n: Code point %n is undefined in %s", e.i, e.cp, e.charset) + return fmt.Sprintf("Parse error at index %d: Code point %d is undefined in %s", e.i, e.cp, e.charset) } func (strict translateFromASCII) Translate(data []byte, eof bool) (int, []byte, error) { |