Migrate smrl-treasury and srml-upgrade-key to the 2018 edition (#1725)

This commit is contained in:
Stanislav Tkach authored and Gav Wood committed 2019-02-09 18:06:20 +01:00
1 parent 810c391de2
commit ca69ad4c30
37 files changed
+88 -149

No files matched your search

@@ -18,21 +18,14 @@
//! Use to derive parsing for parsing struct.
// end::description[]
#![recursion_limit = "128"]
#[macro_use]
extern crate syn;
#[macro_use]
extern crate quote;
extern crate proc_macro;
extern crate proc_macro2;
use proc_macro::TokenStream;
use proc_macro2::Span;
use syn::parse_macro_input;
use quote::quote;
pub(crate) fn fields_idents(
fields: impl Iterator<Item = syn::Field>,