assert: fix typo

Signed-off-by: cuishuang <imcusg@gmail.com>
pull/1186/head
cuishuang 2022-03-03 15:15:54 +08:00 committed by Boyan Soubachov
parent 7797738693
commit 35864782d2
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ package assert
import "reflect"
// Wrapper around reflect.Value.CanConvert, for compatability
// Wrapper around reflect.Value.CanConvert, for compatibility
// reasons.
func canConvert(value reflect.Value, to reflect.Type) bool {
return value.CanConvert(to)