From a98e35ebab07acc0be95bea1bbc94d71f089010e Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Thu, 19 Dec 2024 10:26:18 +0100 Subject: reflect: fix incorrect comment on elemType PR that introduced this: https://github.com/tinygo-org/tinygo/pull/4543 --- src/reflect/type.go | 4 ++-- 1 file 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 -- cgit v1.2.3