File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ pub struct NodeEntry<'a> {
342
342
index : NodeIndex ,
343
343
}
344
344
345
- impl < ' a > NodeEntry < ' a > {
345
+ impl NodeEntry < ' _ > {
346
346
pub fn name ( & self ) -> & NodeName {
347
347
self . internal . node_name ( ) . unwrap ( )
348
348
}
@@ -473,7 +473,7 @@ impl SagaDag {
473
473
/// something like `dot -Tpng -o graph.png graph.out` to produce `graph.png`, a
474
474
/// visual representation of the saga graph.
475
475
pub struct DagDot < ' a > ( & ' a Graph < InternalNode , ( ) , Directed , u32 > ) ;
476
- impl < ' a > fmt:: Display for DagDot < ' a > {
476
+ impl fmt:: Display for DagDot < ' _ > {
477
477
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
478
478
let config = & [ dot:: Config :: EdgeNoLabel ] ;
479
479
let dot = dot:: Dot :: with_config ( & self . 0 , config) ;
Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ pub struct SagaLogPretty<'a> {
291
291
log : & ' a SagaLog ,
292
292
}
293
293
294
- impl < ' a > fmt:: Debug for SagaLogPretty < ' a > {
294
+ impl fmt:: Debug for SagaLogPretty < ' _ > {
295
295
fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
296
296
write ! ( f, "SAGA LOG:\n " ) ?;
297
297
write ! ( f, "saga id: {}\n " , self . log. saga_id) ?;
You can’t perform that action at this time.
0 commit comments