fix grammar in godoc
This commit is contained in:
parent
df97727d47
commit
f97cca7639
1 changed files with 1 additions and 1 deletions
2
bool.go
2
bool.go
|
@ -28,7 +28,7 @@ func BoolFrom(b bool) Bool {
|
|||
return NewBool(b, true)
|
||||
}
|
||||
|
||||
// BoolFromPtr creates a new Bool that be null if f is nil.
|
||||
// BoolFromPtr creates a new Bool that will be null if f is nil.
|
||||
func BoolFromPtr(b *bool) Bool {
|
||||
if b == nil {
|
||||
return NewBool(false, false)
|
||||
|
|
Loading…
Reference in a new issue