diff options
Diffstat (limited to 'vendor/github.com/paulrosania')
-rw-r--r-- | vendor/github.com/paulrosania/go-charset/charset/ascii.go | 2 | ||||
-rw-r--r-- | vendor/github.com/paulrosania/go-charset/charset/charset.go | 2 |
2 files changed, 2 insertions, 2 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) { 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 ( |