aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormehradsadeghi <2012.linkinpark@gmail.com>2021-07-16 21:25:28 +0000
committerIan Lance Taylor <iant@golang.org>2021-07-18 21:00:03 +0000
commit650fc2117aaffbc4d596dc35cc88400ba11b2f25 (patch)
tree8f976a6e00affe95d57ffe76dbae66d1d0fa2dfc
parentaa4e0f528e1e018e2847decb549cfc5ac07ecf20 (diff)
downloadgo-650fc2117aaffbc4d596dc35cc88400ba11b2f25.tar.gz
go-650fc2117aaffbc4d596dc35cc88400ba11b2f25.zip
text/scanner: use Go convention in Position doc comment
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>
-rw-r--r--src/text/scanner/scanner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text/scanner/scanner.go b/src/text/scanner/scanner.go
index e0847a7239..c5fc4ff93b 100644
--- a/src/text/scanner/scanner.go
+++ b/src/text/scanner/scanner.go
@@ -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