Commit 54102963 authored by Ibrahim AshShohail's avatar Ibrahim AshShohail Committed by Brad Fitzpatrick

go/token: remove excess parenthesis in NoPos.IsValid() documentation

Fixes #20294

Change-Id: I32ac862fe00180210a04103cc94c4d9fef5d1b6c
Reviewed-on: https://go-review.googlesource.com/42992Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent d659682d
......@@ -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.
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment