From 541029636a926caabe425258cb1f3de3ecc1dbc3 Mon Sep 17 00:00:00 2001 From: Ibrahim AshShohail Date: Tue, 9 May 2017 17:54:26 +0300 Subject: [PATCH] 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 --- src/go/token/position.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. // -- 2.48.1