Skip to content

Commit 31e9abf

Browse files
flowerofdreamYong Yang
authored andcommitted
rlp: fix typo in comment (ethereum#24595)
Co-authored-by: Yong Yang <yangyong775654@163.com>
1 parent 7252a51 commit 31e9abf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rlp/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ call EncodeRLP on nil pointer values.
3737
3838
To encode a pointer, the value being pointed to is encoded. A nil pointer to a struct
3939
type, slice or array always encodes as an empty RLP list unless the slice or array has
40-
elememt type byte. A nil pointer to any other value encodes as the empty string.
40+
element type byte. A nil pointer to any other value encodes as the empty string.
4141
4242
Struct values are encoded as an RLP list of all their encoded public fields. Recursive
4343
struct types are supported.

0 commit comments

Comments
 (0)