]> Cypherpunks repositories - gostls13.git/commitdiff
doc: trivial comment typo fix
authorShenghou Ma <minux.ma@gmail.com>
Thu, 12 Jan 2012 15:55:23 +0000 (07:55 -0800)
committerRob Pike <r@golang.org>
Thu, 12 Jan 2012 15:55:23 +0000 (07:55 -0800)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5529080

doc/progs/defer.go
doc/progs/defer2.go

index 098cdf26b16e4c8428d52069a04bb94153fc494a..2e11020abf54ce4506afc68e80ee70cdb8db7a91 100644 (file)
@@ -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 {
index 341a1410f3a22e6124ec705c4c8bff8d9efe61ac..cad66b0702b3d49c0f338ef0c627fa8940452508 100644 (file)
@@ -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