Removed a few warnings (#4786)

This commit is contained in:
Cecile Tonglet
2020-01-31 12:32:12 +01:00
committed by GitHub
parent 4de44129cf
commit ce47bfa2ba
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ use node_transaction_factory::RuntimeAdapter;
use crate::{Cli, service, ChainSpec, load_spec, Subcommand, factory_impl::FactoryState};
/// Parse command line arguments into service configuration.
pub fn run<I, T>(args: I, version: sc_cli::VersionInfo) -> error::Result<()>
pub fn run<I, T>(args: I, version: VersionInfo) -> error::Result<()>
where
I: Iterator<Item = T>,
T: Into<std::ffi::OsString> + Clone,