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
41 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};
5350
54use sp_std::convert::TryInto;51use 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};