1
0
mirror of https://github.com/golang/go synced 2024-11-25 01:57:56 -07:00

doc: trivial comment typo fix

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5529080
This commit is contained in:
Shenghou Ma 2012-01-12 07:55:23 -08:00 committed by Rob Pike
parent 26ba35666e
commit cd54e44b50
2 changed files with 3 additions and 3 deletions

View File

@ -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) {
// 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 {

View File

@ -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