diff options
Diffstat (limited to 'libgo/go/builtin/builtin.go')
-rw-r--r-- | libgo/go/builtin/builtin.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgo/go/builtin/builtin.go b/libgo/go/builtin/builtin.go index 08ae7ed..5657be4 100644 --- a/libgo/go/builtin/builtin.go +++ b/libgo/go/builtin/builtin.go @@ -95,11 +95,11 @@ type rune = int32 type any = interface{} // comparable is an interface that is implemented by all comparable types -// (booleans, numbers, strings, pointers, channels, interfaces, -// arrays of comparable types, structs whose fields are all comparable types). +// (booleans, numbers, strings, pointers, channels, arrays of comparable types, +// structs whose fields are all comparable types). // The comparable interface may only be used as a type parameter constraint, // not as the type of a variable. -type comparable comparable +type comparable interface{ comparable } // iota is a predeclared identifier representing the untyped integer ordinal // number of the current const specification in a (usually parenthesized) |