Remove compilation warnings. (#2835)

* Remove compilation warnings.

* Allow unused only not in tests.

* Remove unnecessary mut.

* Make CI happy.

* Revert "Make CI happy."

This reverts commit abb865fe4b9fe9af1ae3ec801da9d4305ea35765.
This commit is contained in:
Tomasz Drwięga
2019-06-11 22:42:28 +02:00
committed by Bastian Köcher
parent ad2d958248
commit 6feab51069
5 changed files with 145 additions and 139 deletions
@@ -217,7 +217,7 @@ fn decl_store_extra_genesis(
let type_infos = get_type_infos(storage_type);
let mut opt_build;
let opt_build;
// need build line
if let Some(ref config) = config.inner {
let ident = if let Some(ident) = config.expr.content.as_ref() {