Fixed typo in constant error example code

Jaap Broekhuizen 2019-07-29 09:39:10 +02:00
parent ff87aa9400
commit f67b16e0e4

@ -50,7 +50,7 @@ type errorConst string
const ErrTooManyErrors errorConst = "too many errors found."
type (e errorConst) Error() string {
func (e errorConst) Error() string {
return string(e)
}
```