From: Ibrahim AshShohail Date: Tue, 9 May 2017 14:54:26 +0000 (+0300) Subject: go/token: remove excess parenthesis in NoPos.IsValid() documentation X-Git-Tag: go1.9beta1~306 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=541029636a926caabe425258cb1f3de3ecc1dbc3;p=gostls13.git go/token: remove excess parenthesis in NoPos.IsValid() documentation Fixes #20294 Change-Id: I32ac862fe00180210a04103cc94c4d9fef5d1b6c Reviewed-on: https://go-review.googlesource.com/42992 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/go/token/position.go b/src/go/token/position.go index d4171d80e0..8442b270db 100644 --- a/src/go/token/position.go +++ b/src/go/token/position.go @@ -71,7 +71,7 @@ func (pos Position) String() string { type Pos int // The zero value for Pos is NoPos; there is no file and line information -// associated with it, and NoPos().IsValid() is false. NoPos is always +// associated with it, and NoPos.IsValid() is false. NoPos is always // smaller than any other Pos value. The corresponding Position value // for NoPos is the zero value for Position. //