git.delta.rocks / unique-network / refs/commits / 103f351cae21

difftreelog

fix cargo fmt and warnings

Grigoriy Simonov2023-05-25parent: #7bc3b32.patch.diff
in: master

2 files changed

modifiedpallets/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;
 
modifiedpallets/inflation/src/tests.rsdiffbeforeafterboth
23 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};