mirror of
https://github.com/golang/go
synced 2024-11-22 05:14:40 -07:00
doc: trivial comment typo fix
R=golang-dev, r CC=golang-dev https://golang.org/cl/5529080
This commit is contained in:
parent
26ba35666e
commit
cd54e44b50
@ -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 {
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user