difftreelog
feat use returns kw with via kw
in: master
4 files changed
crates/evm-coder/procedural/src/solidity_interface.rsdiffbeforeafterboth175 parenthesized!(contents in input);175 parenthesized!(contents in input);176176177 let method = contents.parse::<Ident>()?;177 let method = contents.parse::<Ident>()?;178 contents.parse::<Token![,]>()?;178 contents.parse::<kw::returns>()?;179 let ty = contents.parse::<Type>()?;179 let ty = contents.parse::<Type>()?;180180181 if via.replace((ty, method)).is_some() {181 if via.replace((ty, method)).is_some() {536 syn::custom_keyword!(weight);536 syn::custom_keyword!(weight);537537538 syn::custom_keyword!(via);538 syn::custom_keyword!(via);539 syn::custom_keyword!(returns);539 syn::custom_keyword!(name);540 syn::custom_keyword!(name);540 syn::custom_keyword!(is);541 syn::custom_keyword!(is);541 syn::custom_keyword!(inline_is);542 syn::custom_keyword!(inline_is);pallets/fungible/src/erc.rsdiffbeforeafterboth199 ERC20,199 ERC20,200 ERC20Mintable,200 ERC20Mintable,201 ERC20UniqueExtensions,201 ERC20UniqueExtensions,202 Collection(via(common_mut, CollectionHandle<T>)),202 Collection(via(common_mut returns CollectionHandle<T>)),203 )203 )204)]204)]205impl<T: Config> FungibleHandle<T> where T::AccountId: From<[u8; 32]> + AsRef<[u8; 32]> {}205impl<T: Config> FungibleHandle<T> where T::AccountId: From<[u8; 32]> + AsRef<[u8; 32]> {}pallets/nonfungible/src/erc.rsdiffbeforeafterboth736 ERC721UniqueExtensions,736 ERC721UniqueExtensions,737 ERC721Mintable,737 ERC721Mintable,738 ERC721Burnable,738 ERC721Burnable,739 Collection(via(common_mut, CollectionHandle<T>)),739 Collection(via(common_mut returns CollectionHandle<T>)),740 TokenProperties,740 TokenProperties,741 )741 )742)]742)]pallets/refungible/src/erc.rsdiffbeforeafterboth785 ERC721UniqueExtensions,785 ERC721UniqueExtensions,786 ERC721Mintable,786 ERC721Mintable,787 ERC721Burnable,787 ERC721Burnable,788 Collection(via(common_mut, CollectionHandle<T>)),788 Collection(via(common_mut returns CollectionHandle<T>)),789 TokenProperties,789 TokenProperties,790 )790 )791)]791)]