Skip to content

Commit

Permalink
Merge pull request #72 from alexandear/fix-typo-grammar
Browse files Browse the repository at this point in the history
Fix typos and grammar issue
  • Loading branch information
DPJacques authored Oct 2, 2023
2 parents b120971 + 7354358 commit 6e40ac6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clockwork.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ func (fc *FakeClock) setExpirer(e expirer, d time.Duration) {

// firer is used by fakeTimer and fakeTicker used to help implement expirer.
type firer struct {
// The channel associated with the firer, used to send expriation times.
// The channel associated with the firer, used to send expiration times.
c chan time.Time

// The time when the firer expires. Only meaningful if the firer is currently
Expand Down
2 changes: 1 addition & 1 deletion context.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
)

// contextKey is private to this package so we can ensure uniqueness here. This
// contextKey is private to this package, so we can ensure uniqueness here. This
// type identifies context values provided by this package.
type contextKey string

Expand Down
2 changes: 1 addition & 1 deletion timer.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func (r realTimer) Chan() <-chan time.Time {
type fakeTimer struct {
firer

// reset and stop provide the implmenetation of the respective exported
// reset and stop provide the implementation of the respective exported
// functions.
reset func(d time.Duration) bool
stop func() bool
Expand Down

0 comments on commit 6e40ac6

Please sign in to comment.