mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: use "reports whether" in place of "returns true if(f)"
Comment changes only. Change-Id: I56848814564c4aa0988b451df18bebdfc88d6d94 Reviewed-on: https://go-review.googlesource.com/7721 Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
fcb895feef
commit
2adc4e8927
47 changed files with 100 additions and 102 deletions
|
|
@ -1042,7 +1042,7 @@ func (tr *TypeRepr) String() string {
|
|||
return fmt.Sprintf(tr.Repr, tr.FormatArgs...)
|
||||
}
|
||||
|
||||
// Empty returns true if the result of String would be "".
|
||||
// Empty reports whether the result of String would be "".
|
||||
func (tr *TypeRepr) Empty() bool {
|
||||
return len(tr.Repr) == 0
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue