From ac12cc47315b4c0c8012d30008a881f456d73c36 Mon Sep 17 00:00:00 2001 From: Dan Cline <6798349+Rjected@users.noreply.github.com> Date: Thu, 13 Jul 2023 14:46:56 -0400 Subject: [PATCH] chore: fix typo in RlpDecodableWrapper derive (#3763) --- crates/rlp/rlp-derive/src/de.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/rlp/rlp-derive/src/de.rs b/crates/rlp/rlp-derive/src/de.rs index 8ab670cafa..aab545fd86 100644 --- a/crates/rlp/rlp-derive/src/de.rs +++ b/crates/rlp/rlp-derive/src/de.rs @@ -72,12 +72,12 @@ pub(crate) fn impl_decodable(ast: &syn::DeriveInput) -> Result { } pub(crate) fn impl_decodable_wrapper(ast: &syn::DeriveInput) -> Result { - let body = parse_struct(ast, "RlpEncodableWrapper")?; + let body = parse_struct(ast, "RlpDecodableWrapper")?; assert_eq!( body.fields.iter().count(), 1, - "#[derive(RlpEncodableWrapper)] is only defined for structs with one field." + "#[derive(RlpDecodableWrapper)] is only defined for structs with one field." ); let name = &ast.ident;