mirror of
https://github.com/golang/go
synced 2024-11-26 06:27:58 -07:00
text/scanner: use Go convention in Position doc comment
Change-Id: Ib872f139af7bfb0a75cc21dace5358fe8fcf2cf0
GitHub-Last-Rev: 8fd5ab01fa
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>
This commit is contained in:
parent
aa4e0f528e
commit
650fc2117a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user