mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 14:27:57 +00:00
Migrate network, primitives and rpc to the 2018 edition (#1710)
This commit is contained in:
committed by
Gav Wood
parent
3a4dda7beb
commit
e60be1ad12
@@ -16,10 +16,11 @@
|
||||
|
||||
//! System RPC module errors.
|
||||
|
||||
use rpc;
|
||||
use error_chain::*;
|
||||
|
||||
use errors;
|
||||
use system::helpers::Health;
|
||||
use crate::rpc;
|
||||
use crate::errors;
|
||||
use crate::system::helpers::Health;
|
||||
|
||||
error_chain! {
|
||||
errors {
|
||||
|
||||
@@ -19,6 +19,7 @@ use super::*;
|
||||
use network::{self, SyncState, SyncStatus, ProtocolStatus, NodeIndex, PeerId, PeerInfo as NetworkPeerInfo, PublicKey};
|
||||
use network::config::Roles;
|
||||
use test_client::runtime::Block;
|
||||
use assert_matches::assert_matches;
|
||||
|
||||
#[derive(Default)]
|
||||
struct Status {
|
||||
|
||||
Reference in New Issue
Block a user