style: no capitalized error messages
This commit is contained in:
@@ -14,7 +14,7 @@ func getToken(i *iterator.Iterator[rune]) (*Token, error) {
|
|||||||
|
|
||||||
letter, err := i.Next()
|
letter, err := i.Next()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("Cannot produce next token: %w", err)
|
return nil, fmt.Errorf("cannot produce next token: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// If it is an operand.
|
// If it is an operand.
|
||||||
|
|||||||
Reference in New Issue
Block a user