Skip to content
Snippets Groups Projects
  • Squirrel's avatar
    Extract PartialComponents into a type alias (#2767) · 1dd1a160
    Squirrel authored
    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: default avatarBastian Köcher <git@kchr.de>
    Unverified
    1dd1a160
Code owners
Assign users and groups as approvers for specific file changes. Learn more.