difftreelog
fix cargo fmt and warnings
in: master
2 files changed
pallets/inflation/src/lib.rsdiffbeforeafterboth41 dispatch::{DispatchResult},41 dispatch::{DispatchResult},42 traits::{42 traits::{43 fungible::{Balanced, Inspect, Mutate},43 fungible::{Balanced, Inspect, Mutate},44 Get, Imbalance,44 Get,45 tokens::Precision,45 tokens::Precision,46 },46 },47};47};48pub use pallet::*;48pub use pallet::*;49use sp_runtime::{49use sp_runtime::{Perbill, traits::BlockNumberProvider};50 Perbill,51 traits::{BlockNumberProvider, Zero},52};535054use sp_std::convert::TryInto;51use sp_std::convert::TryInto;pallets/inflation/src/tests.rsdiffbeforeafterboth--- a/pallets/inflation/src/tests.rs
+++ b/pallets/inflation/src/tests.rs
@@ -20,7 +20,11 @@
use frame_support::{
assert_ok, parameter_types,
- traits::{fungible::{Balanced, Inspect}, OnInitialize, Everything, ConstU32, tokens::Precision},
+ traits::{
+ fungible::{Balanced, Inspect},
+ OnInitialize, Everything, ConstU32,
+ tokens::Precision,
+ },
weights::Weight,
};
use frame_system::RawOrigin;