aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2024-12-19 10:26:18 +0100
committerAyke <[email protected]>2024-12-19 11:17:26 +0100
commita98e35ebab07acc0be95bea1bbc94d71f089010e (patch)
tree5ea90fed50bf93abe45ffddf20fb17a4a97fe4a4
parentc4cfc01ba3a3afaa08768cc4bdfc0150c7bb4fde (diff)
downloadtinygo-a98e35ebab07acc0be95bea1bbc94d71f089010e.tar.gz
tinygo-a98e35ebab07acc0be95bea1bbc94d71f089010e.zip
reflect: fix incorrect comment on elemType
PR that introduced this: https://github.com/tinygo-org/tinygo/pull/4543
-rw-r--r--src/reflect/type.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reflect/type.go b/src/reflect/type.go
index 05915350a..c81d6ba55 100644
--- a/src/reflect/type.go
+++ b/src/reflect/type.go
@@ -424,8 +424,8 @@ type rawType struct {
meta uint8 // metadata byte, contains kind and flags (see constants above)
}
-// All types that have an element type: named, chan, slice, array, map, interface
-// (but not pointer because it doesn't have ptrTo).
+// All types that have an element type: named, chan, slice, array, map (but not
+// pointer because it doesn't have ptrTo).
type elemType struct {
rawType
numMethod uint16