It's Clippy time (#3806)

Fix some Clippy issues
This commit is contained in:
Caio authored and Bastian Köcher committed 2019-10-19 13:01:51 +02:00
1 parent 470b62366f
commit f5162edc83
13 files changed
+18 -31

No files matched your search

+1 -1
View File
@@ -822,7 +822,7 @@ where
}
}
#[deprecated(since = "1.1", note = "Please switch to run_grandpa_voter.")]
#[deprecated(since = "1.1.0", note = "Please switch to run_grandpa_voter.")]
pub fn run_grandpa<B, E, Block: BlockT<Hash=H256>, N, RA, SC, VR, X>(
grandpa_params: GrandpaParams<B, E, Block, N, RA, SC, VR, X>,
) -> ::client::error::Result<impl Future<Item=(),Error=()> + Send + 'static> where