From 964fac3ee74fe4df5423dad18f78322d88aae84a Mon Sep 17 00:00:00 2001 From: Felix Cornelius <9767036+fcornelius@users.noreply.github.com> Date: Fri, 28 Feb 2020 20:15:02 +0000 Subject: [PATCH] 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 --- doc/effective_go.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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.

-- 2.50.0