From 86cd1d9e157ce673c9dc64f4be10dfe1a442fea1 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Wed, 17 Apr 2013 04:41:28 +0800 Subject: [PATCH] doc/effective_go.html: fix typo Fixes #5296. R=golang-dev, r CC=golang-dev https://golang.org/cl/8682044 --- doc/effective_go.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/effective_go.html b/doc/effective_go.html index a1e13c0f69..1da9c4ef16 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -2555,7 +2555,7 @@ if _, ok := val.(json.Marshaler); ok {

One place this situation arises is when it is necessary to guarantee within the package implementing the type that -it it actually satisfies the interface. +it actually satisfies the interface. If a type—for example, json.RawMessage—needs a custom its JSON representation, it should implement -- 2.50.0