Skip to content

Commit

Permalink
s/puts/informs/ in documentation. More proper.
Browse files Browse the repository at this point in the history
  • Loading branch information
niemeyer committed Oct 9, 2011
1 parent 34543f5 commit bd20235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tomb.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (t *Tomb) Wait() os.Error {
return t.reason
}

// Done puts the goroutine in a dead state, and should be called a
// Done informs that the goroutine in a dead state, and should be called a
// single time right before the goroutine function or method returns.
// If the goroutine was not already in a dying state before Done is
// called, it will flagged as dying and dead at once.
Expand All @@ -107,7 +107,7 @@ func (t *Tomb) Done() {
close(t.Dead)
}

// Fatal puts the goroutine in a dying state.
// Fatal informs that the goroutine in a dying state.
// The first non-nil reason parameter to Fatal or the first Fatalf-generated
// error is recorded as the reason for the goroutine death.
// This method may be safely called concurrently, and may be called both from
Expand Down

0 comments on commit bd20235

Please sign in to comment.