]> Cypherpunks repositories - gostls13.git/commitdiff
Effective Go: fix typo
authorRobert Griesemer <gri@golang.org>
Wed, 2 Feb 2011 19:02:56 +0000 (11:02 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 2 Feb 2011 19:02:56 +0000 (11:02 -0800)
Fixes #1467.

R=r, r2
CC=golang-dev
https://golang.org/cl/3981054

doc/effective_go.html

index 3f6f89b8bcc87325a5c59572bcb1c402847c575a..9ca5e7eb3bcb25a5b1fe99f7e339f42d2a30faef 100644 (file)
@@ -2705,7 +2705,7 @@ func init() {
 
 <p>
 When <code>panic</code> is called, including implicitly for run-time
-errors such indexing an array out of bounds or failing a type
+errors such as indexing an array out of bounds or failing a type
 assertion, it immediately stops execution of the current function
 and begins unwinding the stack of the goroutine, running any deferred
 functions along the way.  If that unwinding reaches the top of the