Skip to content

Commit eef83ea

Browse files
flowerofdreamYong Yang
authored andcommitted
rlp: fix typo in comment (ethereum#24595)
Co-authored-by: Yong Yang <[email protected]>
1 parent 8d33e21 commit eef83ea

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
@@ -36,7 +36,7 @@ call EncodeRLP on nil pointer values.
3636
3737
To encode a pointer, the value being pointed to is encoded. A nil pointer to a struct
3838
type, slice or array always encodes as an empty RLP list unless the slice or array has
39-
elememt type byte. A nil pointer to any other value encodes as the empty string.
39+
element type byte. A nil pointer to any other value encodes as the empty string.
4040
4141
Struct values are encoded as an RLP list of all their encoded public fields. Recursive
4242
struct types are supported.

0 commit comments

Comments
 (0)