Skip to content

Commit 8a092b7

Browse files
tom93bradfitz
authored andcommitted
doc: fix typo in Effective Go: s/ReaderWriter/ReadWriter/
Change-Id: I3bfe1b11265f0def4701faf2cfc1ad10a666a473 Reviewed-on: https://go-review.googlesource.com/79596 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 294963f commit 8a092b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/effective_go.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2790,7 +2790,7 @@ <h2 id="embedding">Embedding</h2>
27902790
<p>
27912791
If we need to refer to an embedded field directly, the type name of the field,
27922792
ignoring the package qualifier, serves as a field name, as it did
2793-
in the <code>Read</code> method of our <code>ReaderWriter</code> struct.
2793+
in the <code>Read</code> method of our <code>ReadWriter</code> struct.
27942794
Here, if we needed to access the
27952795
<code>*log.Logger</code> of a <code>Job</code> variable <code>job</code>,
27962796
we would write <code>job.Logger</code>,

0 commit comments

Comments
 (0)