mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-15 15:17:07 +00:00
Require fn token in decl_storage get (#5717)
* Require `fn` token in `decl_storage` `get` The `fn` token was already for quite some time as an optional parameter. It was introduced to make these functions better findable. This pr makes the `fn` token required. * Remove `GetterNoFnkeyword`
This commit is contained in:
1 parent
25751c0562
commit
20f211a624
5 files changed
+8
-19
No files matched your search
@@ -166,7 +166,7 @@ struct DeclStorageLine {
|
||||
|
||||
#[derive(Parse, ToTokens, Debug)]
|
||||
struct DeclStorageGetterBody {
|
||||
fn_keyword: Option<Token![fn]>,
|
||||
fn_keyword: Token![fn],
|
||||
ident: Ident,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user