From 0da712427e070f9b0c3e88a8f5862b98217782ee Mon Sep 17 00:00:00 2001 From: Nathan Whitaker Date: Tue, 17 May 2022 19:09:35 -0400 Subject: [PATCH] Update doctest --- client/consensus/common/src/import_queue/buffered_link.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/consensus/common/src/import_queue/buffered_link.rs b/client/consensus/common/src/import_queue/buffered_link.rs index cfc75d71998b4..a3587d686cd80 100644 --- a/client/consensus/common/src/import_queue/buffered_link.rs +++ b/client/consensus/common/src/import_queue/buffered_link.rs @@ -29,9 +29,9 @@ //! # struct DummyLink; impl Link for DummyLink {} //! # let mut my_link = DummyLink; //! let (mut tx, mut rx) = buffered_link::(); -//! tx.blocks_processed(0, 0, vec![]); +//! tx.blocks_processed(0, 0, None, vec![]); //! -//! // Calls `my_link.blocks_processed(0, 0, vec![])` when polled. +//! // Calls `my_link.blocks_processed(0, 0, None, vec![])` when polled. //! let _fut = futures::future::poll_fn(move |cx| { //! rx.poll_actions(cx, &mut my_link); //! std::task::Poll::Pending::<()>