]> Cypherpunks repositories - gostls13.git/commitdiff
text/scanner: use Go convention in Position doc comment
authormehradsadeghi <2012.linkinpark@gmail.com>
Fri, 16 Jul 2021 21:25:28 +0000 (21:25 +0000)
committerIan Lance Taylor <iant@golang.org>
Sun, 18 Jul 2021 21:00:03 +0000 (21:00 +0000)
Change-Id: Ib872f139af7bfb0a75cc21dace5358fe8fcf2cf0
GitHub-Last-Rev: 8fd5ab01fab3bc1d7701092f31071d07ab79acc5
GitHub-Pull-Request: golang/go#47250
Reviewed-on: https://go-review.googlesource.com/c/go/+/335149
Reviewed-by: Robert Griesemer <gri@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Robert Griesemer <gri@golang.org>

src/text/scanner/scanner.go

index e0847a7239680c286a4805834be680ff2104a754..c5fc4ff93b9061de0c32131d65dbadc324507b97 100644 (file)
@@ -23,7 +23,7 @@ import (
        "unicode/utf8"
 )
 
-// A source position is represented by a Position value.
+// Position is a value that represents a source position.
 // A position is valid if Line > 0.
 type Position struct {
        Filename string // filename, if any