Skip to content

Commit

Permalink
go-fuzz-dep: use a type alias for Bool
Browse files Browse the repository at this point in the history
No practical consequences,
but this seems more semantically accurate.
It is intended to be a bool, not a named bool.
  • Loading branch information
josharian authored and dvyukov committed Jan 7, 2019
1 parent 31e2128 commit 9db3bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-fuzz-dep/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
// Bool is just a bool.
// It is used by code autogenerated by go-fuzz-build
// to avoid compilation errors when a user's code shadows the built-in bool.
type Bool bool
type Bool = bool

var (
inFD FD
Expand Down

0 comments on commit 9db3bd8

Please sign in to comment.