]> Cypherpunks repositories - gostls13.git/commitdiff
doc: fix typo in Effective Go: s/ReaderWriter/ReadWriter/
authorTom Levy <tomlevy93@gmail.com>
Thu, 23 Nov 2017 01:32:03 +0000 (14:32 +1300)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 23 Nov 2017 04:07:39 +0000 (04:07 +0000)
Change-Id: I3bfe1b11265f0def4701faf2cfc1ad10a666a473
Reviewed-on: https://go-review.googlesource.com/79596
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/effective_go.html

index 6d53eefbc3d24a20b879ffe4228cee519a00740a..61de824fcd2094c33ae76aee31abdca6d5dc5f98 100644 (file)
@@ -2790,7 +2790,7 @@ job := &amp;Job{command, log.New(os.Stderr, "Job: ", log.Ldate)}
 <p>
 If we need to refer to an embedded field directly, the type name of the field,
 ignoring the package qualifier, serves as a field name, as it did
-in the <code>Read</code> method of our <code>ReaderWriter</code> struct.
+in the <code>Read</code> method of our <code>ReadWriter</code> struct.
 Here, if we needed to access the
 <code>*log.Logger</code> of a <code>Job</code> variable <code>job</code>,
 we would write <code>job.Logger</code>,