mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
doc: Fix broken doc-test on task.rs (#1042)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
This commit is contained in:
committed by
GitHub
parent
ed239e868c
commit
d6bd075e7b
@ -45,7 +45,7 @@ impl TaskDownloader {
|
||||
/// # use reth_interfaces::consensus::Consensus;
|
||||
/// # use reth_interfaces::p2p::headers::client::HeadersClient;
|
||||
/// # fn t<H: HeadersClient + 'static>(consensus:Arc<dyn Consensus>, client: Arc<H>) {
|
||||
/// let downloader = LinearDownloader::builder().build(
|
||||
/// let downloader = LinearDownloader::<H>::builder().build(
|
||||
/// consensus,
|
||||
/// client,
|
||||
/// Default::default(),
|
||||
|
||||
Reference in New Issue
Block a user