File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 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> {
342342 index : NodeIndex ,
343343}
344344
345- impl < ' a > NodeEntry < ' a > {
345+ impl NodeEntry < ' _ > {
346346 pub fn name ( & self ) -> & NodeName {
347347 self . internal . node_name ( ) . unwrap ( )
348348 }
@@ -473,7 +473,7 @@ impl SagaDag {
473473/// something like `dot -Tpng -o graph.png graph.out` to produce `graph.png`, a
474474/// visual representation of the saga graph.
475475pub struct DagDot < ' a > ( & ' a Graph < InternalNode , ( ) , Directed , u32 > ) ;
476- impl < ' a > fmt:: Display for DagDot < ' a > {
476+ impl fmt:: Display for DagDot < ' _ > {
477477 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
478478 let config = & [ dot:: Config :: EdgeNoLabel ] ;
479479 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> {
291291 log : & ' a SagaLog ,
292292}
293293
294- impl < ' a > fmt:: Debug for SagaLogPretty < ' a > {
294+ impl fmt:: Debug for SagaLogPretty < ' _ > {
295295 fn fmt ( & self , f : & mut fmt:: Formatter < ' _ > ) -> fmt:: Result {
296296 write ! ( f, "SAGA LOG:\n " ) ?;
297297 write ! ( f, "saga id: {}\n " , self . log. saga_id) ?;
You can’t perform that action at this time.
0 commit comments