Skip to content

Commit

Permalink
reflect: fix incorrect comment on elemType
Browse files Browse the repository at this point in the history
PR that introduced this: #4543
  • Loading branch information
aykevl committed Dec 19, 2024
1 parent c4cfc01 commit a98e35e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reflect/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a98e35e

Please sign in to comment.