spelling: coerce

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2020-02-24 16:16:35 -05:00
parent 8d801fc100
commit eebe11ae1b

View File

@ -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)