From 484bb8f13d0a8f5b85cf3402d7dbeb0ddbec2a5a Mon Sep 17 00:00:00 2001 From: Damian Gryski Date: Wed, 15 Dec 2021 14:31:10 -0800 Subject: [PATCH] src/reflect: fix stripPrefix comment --- src/reflect/type.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reflect/type.go b/src/reflect/type.go index 0d4d2473..4ead369b 100644 --- a/src/reflect/type.go +++ b/src/reflect/type.go @@ -364,7 +364,7 @@ func (t rawType) elem() rawType { } } -// stripPrefix removes the "prefix" (the first 5 bytes of the type code) from +// stripPrefix removes the "prefix" (the low 5 bits of the type code) from // the type code. If this is a named type, it will resolve the underlying type // (which is the data for this named type). If it is not, the lower bits are // simply shifted off.