diff options
author | Shenghou Ma <minux.ma@gmail.com> | 2012-01-12 07:55:23 -0800 |
---|---|---|
committer | Shenghou Ma <minux.ma@gmail.com> | 2012-01-12 07:55:23 -0800 |
commit | 1a3f083bd9ff496f00372306b1fdc806d40e1077 (patch) | |
tree | e81dbbbb70beb92ee50f2ebb36745cbeb449d0b1 /doc/progs | |
parent | 96d4e909cc05a6d7cacd75e041cc130263682828 (diff) | |
download | go-1a3f083bd9ff496f00372306b1fdc806d40e1077.tar.gz |
doc: trivial comment typo fix
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/5529080
Committer: Rob Pike <r@golang.org>
Diffstat (limited to 'doc/progs')
-rw-r--r-- | doc/progs/defer.go | 4 | ||||
-rw-r--r-- | doc/progs/defer2.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/progs/defer.go b/doc/progs/defer.go index 098cdf26b..2e11020ab 100644 --- a/doc/progs/defer.go +++ b/doc/progs/defer.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// This file contains the code snippets included in "Defer, Panic, an Recover." +// This file contains the code snippets included in "Defer, Panic, and Recover." package main @@ -36,7 +36,7 @@ func c() (i int) { // STOP OMIT -// Intial version. +// Initial version. func CopyFile(dstName, srcName string) (written int64, err error) { src, err := os.Open(srcName) if err != nil { diff --git a/doc/progs/defer2.go b/doc/progs/defer2.go index 341a1410f..cad66b070 100644 --- a/doc/progs/defer2.go +++ b/doc/progs/defer2.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// This file contains the code snippets included in "Defer, Panic, an Recover." +// This file contains the code snippets included in "Defer, Panic, and Recover." package main |