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.rsdiffbeforeafterboth--- a/pallets/fungible/src/erc.rs
+++ b/pallets/fungible/src/erc.rs
@@ -199,7 +199,7 @@
ERC20,
ERC20Mintable,
ERC20UniqueExtensions,
- Collection(via(common_mut, CollectionHandle<T>)),
+ Collection(via(common_mut returns CollectionHandle<T>)),
)
)]
impl<T: Config> FungibleHandle<T> where T::AccountId: From<[u8; 32]> + AsRef<[u8; 32]> {}
pallets/nonfungible/src/erc.rsdiffbeforeafterboth--- a/pallets/nonfungible/src/erc.rs
+++ b/pallets/nonfungible/src/erc.rs
@@ -736,7 +736,7 @@
ERC721UniqueExtensions,
ERC721Mintable,
ERC721Burnable,
- Collection(via(common_mut, CollectionHandle<T>)),
+ Collection(via(common_mut returns CollectionHandle<T>)),
TokenProperties,
)
)]
pallets/refungible/src/erc.rsdiffbeforeafterboth--- a/pallets/refungible/src/erc.rs
+++ b/pallets/refungible/src/erc.rs
@@ -785,7 +785,7 @@
ERC721UniqueExtensions,
ERC721Mintable,
ERC721Burnable,
- Collection(via(common_mut, CollectionHandle<T>)),
+ Collection(via(common_mut returns CollectionHandle<T>)),
TokenProperties,
)
)]