Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kpob committed Jan 8, 2024
1 parent 3375ddd commit 2d688ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 3 additions & 5 deletions modules/src/erc721_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand Down
1 change: 0 additions & 1 deletion odra-macros/src/utils/syn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(_))
}

0 comments on commit 2d688ac

Please sign in to comment.