From b26c88db2f338d6529e1021db59f0faa75af5934 Mon Sep 17 00:00:00 2001
From: Russ Cox 0
instead of the
constant nil
. Go 1.10 provides gofix
modules to help with that rewrite:
+
go tool fix -r cftype <pkg> go tool fix -r jni <pkg>-
For more details, see the cgo documentation. diff --git a/src/reflect/type.go b/src/reflect/type.go index 9c967de45c..171fc07bfe 100644 --- a/src/reflect/type.go +++ b/src/reflect/type.go @@ -32,8 +32,8 @@ import ( // calling kind-specific methods. Calling a method // inappropriate to the kind of type causes a run-time panic. // -// Type values are comparable, such as with the == operator, and Type can be -// used as a map key type. +// Type values are comparable, such as with the == operator, +// so they can be used as map keys. // Two Type values are equal if they represent identical types. type Type interface { // Methods applicable to all types. -- 2.48.1