Unverified Commit 1dd1a160 authored by Squirrel's avatar Squirrel Committed by GitHub
Browse files

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/d84e135bbfc366a17bb6b72d0fc9d09ee781ab8d/polkadot/node/service/src/lib.rs#L477


).

---------

Co-authored-by: default avatarBastian Köcher <[email protected]>
parent 9a27b53e
Pipeline #430783 failed with stages
in 1 hour, 13 minutes, and 36 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment