Skip to content

Commit 0d9c588

Browse files
pavedroadKimNorgaard
authored andcommitted
chore: fix some comments (go-playground#1242)
## Fixes Or Enhances **Make sure that you've checked the boxes below before you submit PR:** - [x] Tests exist or have been written that cover this particular change. @go-playground/validator-maintainers Signed-off-by: pavedroad <[email protected]>
1 parent dcb8df9 commit 0d9c588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ func asFloat64(param string) float64 {
271271
return i
272272
}
273273

274-
// asFloat64 returns the parameter as a float64
274+
// asFloat32 returns the parameter as a float32
275275
// or panics if it can't convert
276276
func asFloat32(param string) float64 {
277277
i, err := strconv.ParseFloat(param, 32)

0 commit comments

Comments
 (0)