diff --git a/src/reflect/type.go b/src/reflect/type.go index 3bfff4a7cc..dd7b797c04 100644 --- a/src/reflect/type.go +++ b/src/reflect/type.go @@ -2314,10 +2314,6 @@ type structTypeFixed32 struct { // StructOf returns the struct type containing fields. // The Offset and Index fields are ignored and computed as they would be // by the compiler. -// -// StructOf does not support creating structs with UTF-8 field names or -// UTF-8 (embedded) type names. -// This limitation may be lifted eventually. func StructOf(fields []StructField) Type { var ( hash = fnv1(0, []byte("struct {")...)