Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit 0a4bd5c

Browse files
author
adria0
committed
fix rust2018 use
1 parent 6f8b668 commit 0a4bd5c

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

parity/configuration.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,16 +1200,16 @@ mod tests {
12001200
use updater::{UpdatePolicy, UpdateFilter, ReleaseTrack};
12011201
use types::ids::BlockId;
12021202
use types::data_format::DataFormat;
1203-
use account::{AccountCmd, NewAccount, ImportAccounts, ListAccounts};
1204-
use blockchain::{BlockchainCmd, ImportBlockchain, ExportBlockchain, ExportState};
1205-
use cli::Args;
1203+
use crate::account::{AccountCmd, NewAccount, ImportAccounts, ListAccounts};
1204+
use crate::blockchain::{BlockchainCmd, ImportBlockchain, ExportBlockchain, ExportState};
1205+
use crate::cli::Args;
12061206
use dir::{Directories, default_hypervisor_path};
1207-
use helpers::{default_network_config};
1208-
use params::SpecType;
1209-
use presale::ImportWallet;
1210-
use rpc::WsConfiguration;
1211-
use rpc_apis::ApiSet;
1212-
use run::RunCmd;
1207+
use crate::helpers::{default_network_config};
1208+
use crate::params::SpecType;
1209+
use crate::presale::ImportWallet;
1210+
use crate::rpc::WsConfiguration;
1211+
use crate::rpc_apis::ApiSet;
1212+
use crate::run::RunCmd;
12131213

12141214
use network::{AllowIP, IpFilter};
12151215

parity/deprecated.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ pub fn find_deprecated(args: &Args) -> Vec<Deprecated> {
248248

249249
#[cfg(test)]
250250
mod tests {
251-
use cli::Args;
251+
use crate::cli::Args;
252252
use super::{Deprecated, find_deprecated};
253253

254254
#[test]

parity/params.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ pub fn mode_switch_to_bool(switch: Option<Mode>, user_defaults: &UserDefaults) -
368368
#[cfg(test)]
369369
mod tests {
370370
use journaldb::Algorithm;
371-
use user_defaults::UserDefaults;
371+
use crate::user_defaults::UserDefaults;
372372
use super::{SpecType, Pruning, ResealPolicy, Switch, tracing_switch_to_bool};
373373

374374
#[test]

0 commit comments

Comments
 (0)