aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/reflect/value.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflect/value.go b/src/reflect/value.go
index ae6c4daf58..89cc37f1db 100644
--- a/src/reflect/value.go
+++ b/src/reflect/value.go
@@ -3261,7 +3261,7 @@ func (v Value) CanConvert(t Type) bool {
return true
}
-// Comparable reports whether the type of v is comparable.
+// Comparable reports whether the value v is comparable.
// If the type of v is an interface, this checks the dynamic type.
// If this reports true then v.Interface() == x will not panic for any x.
func (v Value) Comparable() bool {