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::<()>