Skip to content

Commit 9f6c1cd

Browse files
Fixed typo
1 parent 884d31b commit 9f6c1cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

errors.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ type FieldError interface {
152152
// returns the FieldError's translated error
153153
// from the provided 'ut.Translator' and registered 'TranslationFunc'
154154
//
155-
// NOTE: is not registered translation can be found it returns the same
156-
// as calling fe.Error()
155+
// NOTE: if no registered translator can be found it returns the same as
156+
// calling fe.Error()
157157
Translate(ut ut.Translator) string
158158
}
159159

0 commit comments

Comments
 (0)