diff --git a/utils/nil.go b/utils/nil.go index 8652c9911d..d263acc7a1 100644 --- a/utils/nil.go +++ b/utils/nil.go @@ -16,7 +16,7 @@ import "reflect" // // A solution for this is to use i == nil || reflect.ValueOf(i).IsNil()), however, this can cause a panic as not all // reflect.Value has IsNil() defined. Therefore, default is to return false. For example, reflect.Array cannot be nil, -// hence calling IsNil() will cause a panic. +// hence calling IsNil() will cause a great panic. func IsNil(i any) bool { if i == nil { return true