Skip to content

Commit 2ca1d8f

Browse files
committed
Drop unnecessary elided lifetime name from get_best_block
.. which recently started to yield a warning on the `beta` channel of rustc.
1 parent 7cfcb14 commit 2ca1d8f

File tree

1 file changed

+1
-1
lines changed
  • lightning-block-sync/src

1 file changed

+1
-1
lines changed

lightning-block-sync/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub trait BlockSource: Sync + Send {
7878
/// to allow for a more efficient lookup.
7979
///
8080
/// [`get_header`]: Self::get_header
81-
fn get_best_block<'a>(&'a self) -> AsyncBlockSourceResult<(BlockHash, Option<u32>)>;
81+
fn get_best_block(&self) -> AsyncBlockSourceResult<(BlockHash, Option<u32>)>;
8282
}
8383

8484
/// Result type for `BlockSource` requests.

0 commit comments

Comments
 (0)