From: mehradsadeghi <2012.linkinpark@gmail.com> Date: Fri, 16 Jul 2021 21:25:28 +0000 (+0000) Subject: text/scanner: use Go convention in Position doc comment X-Git-Tag: go1.17rc2~1^2~29 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=650fc2117aaffbc4d596dc35cc88400ba11b2f25;p=gostls13.git 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 Reviewed-by: Ian Lance Taylor Trust: Robert Griesemer --- 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