accounts/abi: fix typos (#29542 #29600)

This commit is contained in:
Daniel Liu 2025-01-14 10:56:17 +08:00
parent 733a5fc193
commit 02a3aa13c1
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ import (
"strings"
)
// ConvertType converts an interface of a runtime type into a interface of the
// ConvertType converts an interface of a runtime type into an interface of the
// given type, e.g. turn this code:
//
// var fields []reflect.StructField
@ -33,7 +33,7 @@ import (
// Name: "X",
// Type: reflect.TypeOf(new(big.Int)),
// Tag: reflect.StructTag("json:\"" + "x" + "\""),
// }
// })
//
// into:
//

View file

@ -25,7 +25,7 @@ import (
"github.com/davecgh/go-spew/spew"
)
// typeWithoutStringer is a alias for the Type type which simply doesn't implement
// typeWithoutStringer is an alias for the Type type which simply doesn't implement
// the stringer interface to allow printing type details in the tests below.
type typeWithoutStringer Type