File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
rust/cardano-blockchain-types/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ impl MultiEraBlock {
163
163
/// The decoded block data, which can easily be processed by a consumer.
164
164
#[ must_use]
165
165
#[ allow( clippy:: missing_panics_doc) ]
166
- pub fn decode ( & self ) -> & pallas:: ledger:: traverse:: MultiEraBlock {
166
+ pub fn decode ( & self ) -> & pallas:: ledger:: traverse:: MultiEraBlock < ' _ > {
167
167
self . inner . data . borrow_block ( )
168
168
}
169
169
@@ -275,12 +275,12 @@ impl MultiEraBlock {
275
275
276
276
/// Returns a list of transactions withing this block.
277
277
#[ must_use]
278
- pub fn txs ( & self ) -> Vec < MultiEraTx > {
278
+ pub fn txs ( & self ) -> Vec < MultiEraTx < ' _ > > {
279
279
self . decode ( ) . txs ( )
280
280
}
281
281
282
282
/// Returns an iterator over `(TxnIndex, MultiEraTx)` pair.
283
- pub fn enumerate_txs ( & self ) -> impl Iterator < Item = ( TxnIndex , MultiEraTx ) > {
283
+ pub fn enumerate_txs ( & self ) -> impl Iterator < Item = ( TxnIndex , MultiEraTx < ' _ > ) > {
284
284
self . txs ( )
285
285
. into_iter ( )
286
286
. enumerate ( )
You can’t perform that action at this time.
0 commit comments