Skip to content

Commit

Permalink
text/scanner: use Go convention in Position doc comment
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
Trust: Robert Griesemer <[email protected]>
  • Loading branch information
mehradsadeghi authored and ianlancetaylor committed Jul 18, 2021
1 parent aa4e0f5 commit 650fc21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/text/scanner/scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 650fc21

Please sign in to comment.