mirror of https://github.com/golang/go.git
doc: update Effective Go with 1.14 language changes
Fixes #37560
Change-Id: Iccb8e53254c45d203c1b42ea9b4d8509b93dd7a9
GitHub-Last-Rev: 5972b67e5d
GitHub-Pull-Request: golang/go#37563
Reviewed-on: https://go-review.googlesource.com/c/go/+/221429
Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
5a61de3fe1
commit
964fac3ee7
|
|
@ -2695,8 +2695,7 @@ type ReadWriter interface {
|
||||||
<p>
|
<p>
|
||||||
This says just what it looks like: A <code>ReadWriter</code> can do
|
This says just what it looks like: A <code>ReadWriter</code> can do
|
||||||
what a <code>Reader</code> does <em>and</em> what a <code>Writer</code>
|
what a <code>Reader</code> does <em>and</em> what a <code>Writer</code>
|
||||||
does; it is a union of the embedded interfaces (which must be disjoint
|
does; it is a union of the embedded interfaces.
|
||||||
sets of methods).
|
|
||||||
Only interfaces can be embedded within interfaces.
|
Only interfaces can be embedded within interfaces.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue