Merge pull request #3437 from tnull/2024-12-drop-elided-lifetime-name

Drop elided lifetime name from `get_best_block`
This commit is contained in:
Matt Corallo 2024-12-03 16:23:18 +00:00 committed by GitHub
commit a92084b4dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,7 +78,7 @@ pub trait BlockSource: Sync + Send {
/// to allow for a more efficient lookup.
///
/// [`get_header`]: Self::get_header
fn get_best_block<'a>(&'a self) -> AsyncBlockSourceResult<(BlockHash, Option<u32>)>;
fn get_best_block(&self) -> AsyncBlockSourceResult<(BlockHash, Option<u32>)>;
}
/// Result type for `BlockSource` requests.