File tree Expand file tree Collapse file tree 6 files changed +21
-6
lines changed Expand file tree Collapse file tree 6 files changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ impl<P: Platform> EventsBus<P> {
2929 }
3030
3131 /// Returns a stream that yields events of type `E`.
32- pub ( super ) fn subscribe < E > ( & self ) -> impl Stream < Item = E > + Send + Sync + ' static
32+ pub ( super ) fn subscribe < E > (
33+ & self ,
34+ ) -> impl Stream < Item = E > + Send + Sync + ' static
3335 where
3436 E : Clone + Any + Send + Sync + ' static ,
3537 {
Original file line number Diff line number Diff line change @@ -70,7 +70,10 @@ pub(crate) struct RootScope<P: Platform> {
7070
7171impl < P : Platform > RootScope < P > {
7272 /// Initialize all scopes in a given top-level pipeline.
73- pub ( crate ) fn new ( pipeline : & Pipeline < P > , init_checkpoint : & Checkpoint < P > ) -> Self {
73+ pub ( crate ) fn new (
74+ pipeline : & Pipeline < P > ,
75+ init_checkpoint : & Checkpoint < P > ,
76+ ) -> Self {
7477 let current = RefCell :: new ( StepPath :: empty ( ) ) ;
7578 let root = Scope :: rooted_at ( pipeline, init_checkpoint) ;
7679 let root = RwLock :: new ( root) ;
Original file line number Diff line number Diff line change @@ -117,7 +117,9 @@ where
117117 & self . provider
118118 }
119119
120- pub ( super ) const fn node_config ( & self ) -> & NodeConfig < types:: ChainSpec < Plat > > {
120+ pub ( super ) const fn node_config (
121+ & self ,
122+ ) -> & NodeConfig < types:: ChainSpec < Plat > > {
121123 & self . node_config
122124 }
123125
Original file line number Diff line number Diff line change @@ -261,7 +261,10 @@ impl<P: Platform> StepInstance<P> {
261261
262262 /// This is invoked exactly once when a pipeline is instantiated as a payload
263263 /// builder service.
264- pub ( crate ) fn setup ( & self , ctx : InitContext < P > ) -> Result < ( ) , PayloadBuilderError > {
264+ pub ( crate ) fn setup (
265+ & self ,
266+ ctx : InitContext < P > ,
267+ ) -> Result < ( ) , PayloadBuilderError > {
265268 ( self . setup_fn ) ( & self . instance , ctx)
266269 }
267270
Original file line number Diff line number Diff line change @@ -145,7 +145,9 @@ impl<P: Platform> HostNode<P> {
145145
146146#[ cfg( feature = "test-utils" ) ]
147147impl < P : PlatformWithRpcTypes > HostNode < P > {
148- pub ( crate ) fn attach_to_test_node < C : crate :: test_utils:: ConsensusDriver < P > > (
148+ pub ( crate ) fn attach_to_test_node <
149+ C : crate :: test_utils:: ConsensusDriver < P > ,
150+ > (
149151 self : & Arc < Self > ,
150152 node : & crate :: test_utils:: LocalNode < P , C > ,
151153 order_pool : OrderPool < P > ,
Original file line number Diff line number Diff line change @@ -141,7 +141,10 @@ struct SystemPoolWrapper<P: Platform, Builder> {
141141}
142142
143143impl < P : Platform , Builder > SystemPoolWrapper < P , Builder > {
144- pub ( crate ) fn new < Node > ( builder : Builder , order_pool : Arc < OrderPoolInner < P > > ) -> Self
144+ pub ( crate ) fn new < Node > (
145+ builder : Builder ,
146+ order_pool : Arc < OrderPoolInner < P > > ,
147+ ) -> Self
145148 where
146149 Builder : PoolBuilderBounds < P , Node > ,
147150 Node : FullNodeTypes < Types : NodeTypes < Primitives = types:: Primitives < P > > > ,
You can’t perform that action at this time.
0 commit comments