File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
dependency_injection/builder/enablers
services/signature_consumer Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ impl DependenciesBuilder {
74
74
75
75
/// Builds a [SignatureConsumer]
76
76
pub async fn build_signature_consumer ( & mut self ) -> Result < Arc < dyn SignatureConsumer > > {
77
- let signature_consumer = SignatureConsumerNoop :: default ( ) ;
77
+ let signature_consumer = SignatureConsumerNoop ;
78
78
79
79
Ok ( Arc :: new ( signature_consumer) )
80
80
}
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ use async_trait::async_trait;
5
5
use super :: SignatureConsumer ;
6
6
7
7
/// A no-op implementation of the [SignatureConsumer] trait that will never return signatures.
8
- #[ derive( Default ) ]
9
8
pub struct SignatureConsumerNoop ;
10
9
11
10
#[ async_trait]
You can’t perform that action at this time.
0 commit comments