Skip to content

Commit

Permalink
Refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
DariuszDepta committed Oct 19, 2023
1 parent fd03c5b commit ccc48ac
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions src/app_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,21 +367,11 @@ where
}

/// Overwrites the default distribution interface.
pub fn with_distribution<NewDistribution: Distribution>(
pub fn with_distribution<NewDistr: Distribution>(
self,
distribution: NewDistribution,
) -> AppBuilder<
BankT,
ApiT,
StorageT,
CustomT,
WasmT,
StakingT,
NewDistribution,
IbcT,
GovT,
StargateT,
> {
distribution: NewDistr,
) -> AppBuilder<BankT, ApiT, StorageT, CustomT, WasmT, StakingT, NewDistr, IbcT, GovT, StargateT>
{
let AppBuilder {
wasm,
api,
Expand Down

0 comments on commit ccc48ac

Please sign in to comment.