Skip to content

Commit fdc489d

Browse files
committed
Spelling issue fix
1 parent c079dd1 commit fdc489d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/encoding/json/v2/arshal_default.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1871,7 +1871,7 @@ func makeInterfaceArshaler(t reflect.Type) *arshaler {
18711871
return &fncs
18721872
}
18731873

1874-
// isAnyType reports wether t is equivalent to the any interface type.
1874+
// isAnyType reports whether t is equivalent to the any interface type.
18751875
func isAnyType(t reflect.Type) bool {
18761876
// This is forward compatible if the Go language permits type sets within
18771877
// ordinary interfaces where an interface with zero methods does not

src/simd/_gen/simdgen/gen_simdTypes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ func writeSIMDFeatures(ops []Operation) *bytes.Buffer {
561561
}
562562
featureSet := make(map[featureKey]struct{})
563563
for _, op := range ops {
564-
// Generate a feature check for each independant feature in a
564+
// Generate a feature check for each independent feature in a
565565
// composite feature.
566566
for feature := range strings.SplitSeq(op.CPUFeature, ",") {
567567
feature = strings.TrimSpace(feature)

src/simd/_gen/simdgen/gen_utility.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ func (op Operation) GoType() string {
378378
}
379379

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

0 commit comments

Comments
 (0)