Skip to content

Commit 022f619

Browse files
committed
accounts/abi: fix typos (ethereum#29542 ethereum#29600)
1 parent 3fcbb1b commit 022f619

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

accounts/abi/reflect.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"strings"
2525
)
2626

27-
// ConvertType converts an interface of a runtime type into a interface of the
27+
// ConvertType converts an interface of a runtime type into an interface of the
2828
// given type, e.g. turn this code:
2929
//
3030
// var fields []reflect.StructField
@@ -33,7 +33,7 @@ import (
3333
// Name: "X",
3434
// Type: reflect.TypeOf(new(big.Int)),
3535
// Tag: reflect.StructTag("json:\"" + "x" + "\""),
36-
// }
36+
// })
3737
//
3838
// into:
3939
//

accounts/abi/type_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"github.com/davecgh/go-spew/spew"
2626
)
2727

28-
// typeWithoutStringer is a alias for the Type type which simply doesn't implement
28+
// typeWithoutStringer is an alias for the Type type which simply doesn't implement
2929
// the stringer interface to allow printing type details in the tests below.
3030
type typeWithoutStringer Type
3131

0 commit comments

Comments
 (0)