Migrate to the 2018 edition (#273)

This commit is contained in:
Stanislav Tkach authored and Gavin Wood committed 2019-05-29 18:33:49 +02:00
1 parent c699bdc10a
commit 2c85f90e0a
53 files changed
+230 -421

No files matched your search

+2
View File
@@ -28,6 +28,8 @@ use std::collections::hash_map::{HashMap, Entry};
use std::hash::Hash;
use std::fmt::Debug;
use parity_codec::{Encode, Decode};
/// Context for the statement table.
pub trait Context {
/// A authority ID
-7
View File
@@ -14,13 +14,6 @@
//! propose and attest to validity of candidates, and those who can only attest
//! to availability.
extern crate parity_codec as codec;
extern crate substrate_primitives;
extern crate polkadot_primitives as primitives;
#[macro_use]
extern crate parity_codec_derive;
pub mod generic;
pub use generic::Table;