diff --git a/modules/src/erc721_token.rs b/modules/src/erc721_token.rs index 9806a534..223d8213 100644 --- a/modules/src/erc721_token.rs +++ b/modules/src/erc721_token.rs @@ -525,11 +525,9 @@ mod tests { // And transfer the token to the contract which does support nfts erc721_env.env.set_caller(erc721_env.alice); - erc721_env.token.safe_transfer_from( - erc721_env.alice, - *receiver.address(), - U256::from(1) - ); + erc721_env + .token + .safe_transfer_from(erc721_env.alice, *receiver.address(), U256::from(1)); // Then the owner of the token is the contract assert_eq!( diff --git a/odra-macros/src/utils/syn.rs b/odra-macros/src/utils/syn.rs index 97a780a9..182c1ccc 100644 --- a/odra-macros/src/utils/syn.rs +++ b/odra-macros/src/utils/syn.rs @@ -184,4 +184,3 @@ pub fn as_casted_ty_stream(ty: &syn::Type, as_ty: syn::Type) -> TokenStream { pub fn is_ref(ty: &syn::Type) -> bool { matches!(ty, syn::Type::Reference(_)) } -