From cb712ff37d3c20a21695e00c52fff213a6fd40b4 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 16 Jun 2019 23:33:25 +0200 Subject: Update vendor (#852) --- vendor/github.com/paulrosania/go-charset/charset/ascii.go | 2 +- vendor/github.com/paulrosania/go-charset/charset/charset.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'vendor/github.com/paulrosania') 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) { diff --git a/vendor/github.com/paulrosania/go-charset/charset/charset.go b/vendor/github.com/paulrosania/go-charset/charset/charset.go index 6ab6cf89..ea441adf 100644 --- a/vendor/github.com/paulrosania/go-charset/charset/charset.go +++ b/vendor/github.com/paulrosania/go-charset/charset/charset.go @@ -6,7 +6,7 @@ // // import _ "github.com/paulrosania/go-charset/data" // -// It can also made available in a data directory (by settting CharsetDir). +// It can also made available in a data directory (by setting CharsetDir). package charset import ( -- cgit v1.2.3