Skip to content

Commit 17a8cdc

Browse files
cuishuanggopherbot
authored andcommitted
shiny/materialdesign/icons: use a more straightforward return value
Change-Id: I74d9c3f4047774a0fe503a37dc60c398cdd6b42f Reviewed-on: https://go-review.googlesource.com/c/exp/+/653197 Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Michael Pratt <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent aa4b98e commit 17a8cdc

File tree

1 file changed

+1
-1
lines changed
  • shiny/materialdesign/icons

1 file changed

+1
-1
lines changed

shiny/materialdesign/icons/gen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ func atof(s []byte) (float32, error) {
570570
if err != nil {
571571
return 0, fmt.Errorf("could not parse %q as a float32: %v", s, err)
572572
}
573-
return float32(f), err
573+
return float32(f), nil
574574
}
575575

576576
func normalize(args *[6]float32, n int, op byte, size float32, offset f32.Vec2, relative bool) {

0 commit comments

Comments
 (0)