Skip to content

Commit

Permalink
Fixed a couple of typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
niemeyer committed Apr 3, 2012
1 parent ec6cc4c commit 644a315
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tomb.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import (
// unblock select statements accordingly.
//
// When the tomb state changes to dying and there's still logic going
// on within the goroutine, nested functions and methos may choose to
// on within the goroutine, nested functions and methods may choose to
// return ErrDying as their error value, as this error won't alter the
// tomb state if provied to the Kill method. This is a convenient way to
// follow standard Go practices in the context of a dying tomb.
Expand Down
2 changes: 1 addition & 1 deletion tomb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func TestErrDying(t *testing.T) {
tb.Kill(tomb.ErrDying)
testState(t, tb, true, false, err)

// ErrDying being use badly, with an alive tomb.
// ErrDying being used badly, with an alive tomb.
tb = &tomb.Tomb{}
defer func() {
err := recover()
Expand Down

0 comments on commit 644a315

Please sign in to comment.