difftreelog
fix cargo fmt and warnings
in: master
2 files changed
pallets/inflation/src/lib.rsdiffbeforeafterboth--- a/pallets/inflation/src/lib.rs
+++ b/pallets/inflation/src/lib.rs
@@ -41,15 +41,12 @@
dispatch::{DispatchResult},
traits::{
fungible::{Balanced, Inspect, Mutate},
- Get, Imbalance,
+ Get,
tokens::Precision,
},
};
pub use pallet::*;
-use sp_runtime::{
- Perbill,
- traits::{BlockNumberProvider, Zero},
-};
+use sp_runtime::{Perbill, traits::BlockNumberProvider};
use sp_std::convert::TryInto;
pallets/inflation/src/tests.rsdiffbeforeafterboth23 traits::{fungible::{Balanced, Inspect}, OnInitialize, Everything, ConstU32, tokens::Precision},23 traits::{24 fungible::{Balanced, Inspect},25 OnInitialize, Everything, ConstU32,26 tokens::Precision,27 },24 weights::Weight,28 weights::Weight,25};29};