diff --git a/eth2/utils/ssz_derive/src/lib.rs b/eth2/utils/ssz_derive/src/lib.rs index bd367e039..59cef746a 100644 --- a/eth2/utils/ssz_derive/src/lib.rs +++ b/eth2/utils/ssz_derive/src/lib.rs @@ -231,7 +231,7 @@ pub fn ssz_decode_derive(input: TokenStream) -> TokenStream { } } - fn from_ssz_bytes(bytes: &[u8]) -> Result { + fn from_ssz_bytes(bytes: &[u8]) -> std::result::Result { let mut builder = ssz::SszDecoderBuilder::new(bytes); #( diff --git a/eth2/utils/tree_hash_derive/src/lib.rs b/eth2/utils/tree_hash_derive/src/lib.rs index bd869dee5..ab61cf08e 100644 --- a/eth2/utils/tree_hash_derive/src/lib.rs +++ b/eth2/utils/tree_hash_derive/src/lib.rs @@ -246,7 +246,7 @@ pub fn cached_tree_hash_derive(input: TokenStream) -> TokenStream { fn recalculate_tree_hash_root( &self, cache: &mut #cache_type) - -> Result + -> std::result::Result { let mut leaves = vec![];