From: Rob Pike Date: Wed, 27 Feb 2013 22:42:53 +0000 (-0800) Subject: doc/effective_go.html: use correct name in Interface Checks section X-Git-Tag: go1.1rc2~802 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fbec8347cbdccbaafdde7e59631485731d0da153;p=gostls13.git doc/effective_go.html: use correct name in Interface Checks section Fixes #4897. R=golang-dev, adg CC=golang-dev https://golang.org/cl/7377061 --- diff --git a/doc/effective_go.html b/doc/effective_go.html index a373776892..4bc92870ac 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -3041,7 +3041,6 @@ Similarly, assigning greeting to a blank identifier will silence the unused variable error.

{{code "/doc/progs/unused2.go" `/package/` `$`}} -

Import for side effect

@@ -3103,7 +3102,7 @@ cause the compiler to verify this automatically. A declaration can be used to add such a check:

-var _ json.Marshaler = (*MyMessage)(nil)
+var _ json.Marshaler = (*RawMessage)(nil)
 

As part of type-checking this static assignment of a