Skip to content

Commit a98e35e

Browse files
committed
reflect: fix incorrect comment on elemType
PR that introduced this: #4543
1 parent c4cfc01 commit a98e35e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reflect/type.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,8 @@ type rawType struct {
424424
meta uint8 // metadata byte, contains kind and flags (see constants above)
425425
}
426426

427-
// All types that have an element type: named, chan, slice, array, map, interface
428-
// (but not pointer because it doesn't have ptrTo).
427+
// All types that have an element type: named, chan, slice, array, map (but not
428+
// pointer because it doesn't have ptrTo).
429429
type elemType struct {
430430
rawType
431431
numMethod uint16

0 commit comments

Comments
 (0)