Skip to content

Commit 650fc21

Browse files
mehradsadeghiianlancetaylor
authored andcommitted
text/scanner: use Go convention in Position doc comment
Change-Id: Ib872f139af7bfb0a75cc21dace5358fe8fcf2cf0 GitHub-Last-Rev: 8fd5ab0 GitHub-Pull-Request: #47250 Reviewed-on: https://go-review.googlesource.com/c/go/+/335149 Reviewed-by: Robert Griesemer <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Trust: Robert Griesemer <[email protected]>
1 parent aa4e0f5 commit 650fc21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/text/scanner/scanner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"unicode/utf8"
2424
)
2525

26-
// A source position is represented by a Position value.
26+
// Position is a value that represents a source position.
2727
// A position is valid if Line > 0.
2828
type Position struct {
2929
Filename string // filename, if any

0 commit comments

Comments
 (0)