spelling: coerce
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
8d801fc100
commit
eebe11ae1b
@ -23,7 +23,7 @@ import (
|
||||
|
||||
// For mocking purposes.
|
||||
// This little bit of wrapping needs to be done because go doesn't do
|
||||
// covariance, but it does coerse *time.Timer into stoppable implicitly if we
|
||||
// covariance, but it does coerce *time.Timer into stoppable implicitly if we
|
||||
// write it out like so.
|
||||
var afterFunc = func(d time.Duration, f func()) stoppable {
|
||||
return time.AfterFunc(d, f)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user