From: Felix Cornelius <9767036+fcornelius@users.noreply.github.com> Date: Fri, 28 Feb 2020 20:15:02 +0000 (+0000) Subject: doc: update Effective Go with 1.14 language changes X-Git-Tag: go1.15beta1~997 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=964fac3ee74fe4df5423dad18f78322d88aae84a;p=gostls13.git doc: update Effective Go with 1.14 language changes Fixes #37560 Change-Id: Iccb8e53254c45d203c1b42ea9b4d8509b93dd7a9 GitHub-Last-Rev: 5972b67e5d7b3b36ce1854ee9365197e78f654cd GitHub-Pull-Request: golang/go#37563 Reviewed-on: https://go-review.googlesource.com/c/go/+/221429 Reviewed-by: Rob Pike --- diff --git a/doc/effective_go.html b/doc/effective_go.html index be9b8aef9c..9be6bc7cb0 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -2695,8 +2695,7 @@ type ReadWriter interface {

This says just what it looks like: A ReadWriter can do what a Reader does and what a Writer -does; it is a union of the embedded interfaces (which must be disjoint -sets of methods). +does; it is a union of the embedded interfaces. Only interfaces can be embedded within interfaces.