From 38a77ff03fb521eb086eaeb4082682b74a2fa44c Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Mon, 5 Aug 2013 11:24:27 +1000 Subject: [PATCH] doc/effective_go.html: remove spurious word Fixes #6003. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12387045 --- 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 1ca9bd58d50..8c66fa246f1 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -2560,7 +2560,7 @@ One place this situation arises is when it is necessary to guarantee within the it actually satisfies the interface. If a type—for example, json.RawMessage—needs -a custom its JSON representation, it should implement +a custom JSON representation, it should implement json.Marshaler, but there are no static conversions that would cause the compiler to verify this automatically. If the type inadvertently fails to satisfy the interface, the JSON encoder will still work,