@@ -1146,7 +1146,7 @@ impl RawBolt11Invoice {
11461146 /// This is not exported to bindings users as there is not yet a manual mapping for a FilterMap
11471147 pub fn known_tagged_fields (
11481148 & self ,
1149- ) -> FilterMap < Iter < RawTaggedField > , fn ( & RawTaggedField ) -> Option < & TaggedField > > {
1149+ ) -> FilterMap < ' _ , Iter < RawTaggedField > , fn ( & RawTaggedField ) -> Option < & TaggedField > > {
11501150 // For 1.14.0 compatibility: closures' types can't be written an fn()->() in the
11511151 // function's type signature.
11521152 // TODO: refactor once impl Trait is available
@@ -1468,7 +1468,7 @@ impl Bolt11Invoice {
14681468 /// This is not exported to bindings users as there is not yet a manual mapping for a FilterMap
14691469 pub fn tagged_fields (
14701470 & self ,
1471- ) -> FilterMap < Iter < RawTaggedField > , fn ( & RawTaggedField ) -> Option < & TaggedField > > {
1471+ ) -> FilterMap < ' _ , Iter < RawTaggedField > , fn ( & RawTaggedField ) -> Option < & TaggedField > > {
14721472 self . signed_invoice . raw_invoice ( ) . known_tagged_fields ( )
14731473 }
14741474
@@ -1480,7 +1480,7 @@ impl Bolt11Invoice {
14801480 /// Return the description or a hash of it for longer ones
14811481 ///
14821482 /// This is not exported to bindings users because we don't yet export Bolt11InvoiceDescription
1483- pub fn description ( & self ) -> Bolt11InvoiceDescriptionRef {
1483+ pub fn description ( & self ) -> Bolt11InvoiceDescriptionRef < ' _ > {
14841484 if let Some ( direct) = self . signed_invoice . description ( ) {
14851485 return Bolt11InvoiceDescriptionRef :: Direct ( direct) ;
14861486 } else if let Some ( hash) = self . signed_invoice . description_hash ( ) {
0 commit comments