Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
cd54e44b
Commit
cd54e44b
authored
Jan 12, 2012
by
Shenghou Ma
Committed by
Rob Pike
Jan 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: trivial comment typo fix
R=golang-dev, r CC=golang-dev
https://golang.org/cl/5529080
parent
26ba3566
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
defer.go
doc/progs/defer.go
+2
-2
defer2.go
doc/progs/defer2.go
+1
-1
No files found.
doc/progs/defer.go
View file @
cd54e44b
...
...
@@ -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, an
d
Recover."
package
main
...
...
@@ -36,7 +36,7 @@ func c() (i int) {
// STOP OMIT
// Intial version.
// In
i
tial version.
func
CopyFile
(
dstName
,
srcName
string
)
(
written
int64
,
err
error
)
{
src
,
err
:=
os
.
Open
(
srcName
)
if
err
!=
nil
{
...
...
doc/progs/defer2.go
View file @
cd54e44b
...
...
@@ -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, an
d
Recover."
package
main
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment