Commit cd54e44b authored by Shenghou Ma's avatar Shenghou Ma Committed by Rob Pike

doc: trivial comment typo fix

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5529080
parent 26ba3566
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // 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 package main
...@@ -36,7 +36,7 @@ func c() (i int) { ...@@ -36,7 +36,7 @@ func c() (i int) {
// STOP OMIT // STOP OMIT
// Intial version. // Initial version.
func CopyFile(dstName, srcName string) (written int64, err error) { func CopyFile(dstName, srcName string) (written int64, err error) {
src, err := os.Open(srcName) src, err := os.Open(srcName)
if err != nil { if err != nil {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // 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 package main
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment