From b2faff18ce28edad98303d2c3134dec1331fd7b5 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Fri, 11 Nov 2022 19:22:35 +0800 Subject: all: add missing periods in comments Change-Id: I69065f8adf101fdb28682c55997f503013a50e29 Reviewed-on: https://go-review.googlesource.com/c/go/+/449757 Auto-Submit: Ian Lance Taylor Reviewed-by: Joedian Reid Reviewed-by: Keith Randall Reviewed-by: Keith Randall TryBot-Result: Gopher Robot Run-TryBot: Joedian Reid Run-TryBot: Ian Lance Taylor Reviewed-by: Ian Lance Taylor --- src/encoding/json/scanner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/encoding/json') diff --git a/src/encoding/json/scanner.go b/src/encoding/json/scanner.go index 22fc6922da..4c43f5f98c 100644 --- a/src/encoding/json/scanner.go +++ b/src/encoding/json/scanner.go @@ -594,7 +594,7 @@ func (s *scanner) error(c byte, context string) int { return scanError } -// quoteChar formats c as a quoted character literal +// quoteChar formats c as a quoted character literal. func quoteChar(c byte) string { // special cases - different from quoted strings if c == '\'' { -- cgit v1.3