Extract PartialComponents into a type alias (#2767)
Pulling PartialComponents into a named `Service` type stops clippy complaining about type complexity and also makes the type signatures a little less scary to read. There's two instances where we can't pull it out into a type because a nightly feature has not yet been stabilised (E.g. the `imp Fn` isn't stabilised in a type alias context here: https://github.com/paritytech/polkadot-sdk/blob/d84e135b /polkadot/node/service/src/lib.rs#L477 ). --------- Co-authored-by:Bastian Köcher <git@kchr.de>
Showing
- cumulus/parachain-template/node/src/service.rs 11 additions, 13 deletionscumulus/parachain-template/node/src/service.rs
- cumulus/polkadot-parachain/src/service.rs 11 additions, 11 deletionscumulus/polkadot-parachain/src/service.rs
- cumulus/test/service/src/lib.rs 11 additions, 11 deletionscumulus/test/service/src/lib.rs
- prdoc/pr_2767.prdoc 17 additions, 0 deletionsprdoc/pr_2767.prdoc
- substrate/bin/minimal/node/src/service.rs 11 additions, 13 deletionssubstrate/bin/minimal/node/src/service.rs
- substrate/bin/node-template/node/src/service.rs 14 additions, 23 deletionssubstrate/bin/node-template/node/src/service.rs
Please register or sign in to comment