1
0
mirror of https://github.com/golang/go synced 2024-11-17 06:04:47 -07:00

Remove redundant 'type'

This commit is contained in:
Roland Bracewell Shoemaker 2020-10-05 08:45:08 -07:00 committed by GitHub
parent 3aa6b08d82
commit d0d2ddc587
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1073,7 +1073,7 @@ func setDefaultValue(v reflect.Value, params fieldParameters) (ok bool) {
// If the type of the first field of a structure is RawContent then the raw
// ASN1 contents of the struct will be stored in it.
//
// If the type name of a slice type ends with "SET" then it's treated as if
// If the name of a slice type ends with "SET" then it's treated as if
// the "set" tag was set on it. This results in interpreting the type as a
// SET OF x rather than a SEQUENCE OF x. This can be used with nested slices
// where a struct tag cannot be given.