mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 20:57:59 +00:00
Migrate smrl-treasury and srml-upgrade-key to the 2018 edition (#1725)
This commit is contained in:
committed by
Gav Wood
parent
810c391de2
commit
ca69ad4c30
@@ -21,16 +21,6 @@
|
||||
#![recursion_limit="256"]
|
||||
|
||||
extern crate proc_macro;
|
||||
extern crate proc_macro2;
|
||||
|
||||
#[macro_use]
|
||||
extern crate syn;
|
||||
|
||||
#[macro_use]
|
||||
extern crate quote;
|
||||
|
||||
#[macro_use]
|
||||
extern crate srml_support_procedural_tools;
|
||||
|
||||
mod storage;
|
||||
|
||||
|
||||
@@ -19,8 +19,9 @@
|
||||
// end::description[]
|
||||
|
||||
use srml_support_procedural_tools::syn_ext as ext;
|
||||
use srml_support_procedural_tools::{ToTokens, Parse, custom_keyword, custom_keyword_impl};
|
||||
|
||||
use syn::Ident;
|
||||
use syn::{Ident, Token};
|
||||
use syn::token::CustomKeyword;
|
||||
|
||||
pub mod transformation;
|
||||
|
||||
@@ -31,8 +31,10 @@ use syn::{
|
||||
parse::{
|
||||
Error,
|
||||
Result,
|
||||
}
|
||||
},
|
||||
parse_macro_input,
|
||||
};
|
||||
use quote::quote;
|
||||
|
||||
use super::*;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user