aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/decode.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2022-02-03 14:05:46 -0500
committerRuss Cox <rsc@golang.org>2022-04-05 17:52:29 +0000
commit81431c7aa7c5d782e72dec342442ea7664ef1783 (patch)
tree34b0a65bf5ddf8168133801e5ed7ae142b212dbf /src/encoding/json/decode.go
parentb4cabaf8c094da8387ac6274706fe4850d77ebc6 (diff)
downloadgo-81431c7aa7c5d782e72dec342442ea7664ef1783.tar.xz
all: replace `` and '' with “ (U+201C) and ” (U+201D) in doc comments
go/doc in all its forms applies this replacement when rendering the comments. We are considering formatting doc comments, including doing this replacement as part of the formatting. Apply it to our source files ahead of time. For #51082. Change-Id: Ifcc1f5861abb57c5d14e7d8c2102dfb31b7a3a19 Reviewed-on: https://go-review.googlesource.com/c/go/+/384262 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/encoding/json/decode.go')
-rw-r--r--src/encoding/json/decode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/json/decode.go b/src/encoding/json/decode.go
index ce9675a62f..4319918d1e 100644
--- a/src/encoding/json/decode.go
+++ b/src/encoding/json/decode.go
@@ -85,7 +85,7 @@ import (
//
// The JSON null value unmarshals into an interface, map, pointer, or slice
// by setting that Go value to nil. Because null is often used in JSON to mean
-// ``not present,'' unmarshaling a JSON null into any other Go type has no effect
+// “not present,” unmarshaling a JSON null into any other Go type has no effect
// on the value and produces no error.
//
// When unmarshaling quoted strings, invalid UTF-8 or