doc: Fix broken doc-test on task.rs (#1042)

Co-authored-by: lambdaclass-user <github@lambdaclass.com>
This commit is contained in:
Francisco Krause Arnim
2023-01-25 17:23:48 -03:00
committed by GitHub
parent ed239e868c
commit d6bd075e7b

View File

@ -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(),