Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/encoding/json/v2/arshal_default.go
Original file line number Diff line number Diff line change
Expand Up @@ -1871,7 +1871,7 @@ func makeInterfaceArshaler(t reflect.Type) *arshaler {
return &fncs
}

// isAnyType reports wether t is equivalent to the any interface type.
// isAnyType reports whether t is equivalent to the any interface type.
func isAnyType(t reflect.Type) bool {
// This is forward compatible if the Go language permits type sets within
// ordinary interfaces where an interface with zero methods does not
Expand Down
2 changes: 1 addition & 1 deletion src/simd/_gen/simdgen/gen_simdTypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ func writeSIMDFeatures(ops []Operation) *bytes.Buffer {
}
featureSet := make(map[featureKey]struct{})
for _, op := range ops {
// Generate a feature check for each independant feature in a
// Generate a feature check for each independent feature in a
// composite feature.
for feature := range strings.SplitSeq(op.CPUFeature, ",") {
feature = strings.TrimSpace(feature)
Expand Down
2 changes: 1 addition & 1 deletion src/simd/_gen/simdgen/gen_utility.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ func (op Operation) GoType() string {
}

// ImmName returns the name to use for an operation's immediate operand.
// This can be overriden in the yaml with "name" on an operand,
// This can be overridden in the yaml with "name" on an operand,
// otherwise, for now, "constant"
func (op Operation) ImmName() string {
return op.Op0Name("constant")
Expand Down