From 49356f411aa1160c8b2acb2a630d3ec3905118c5 Mon Sep 17 00:00:00 2001 From: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> Date: Fri, 2 Jun 2023 02:45:16 +0300 Subject: [PATCH] docs: Ensure the CI passes for docs (#2666) * Fix docs Signed-off-by: Alexandru Vasile * Update client/relay-chain-rpc-interface/src/reconnecting_ws_client.rs Co-authored-by: Davide Galassi * Update cargo.lock with substrate Signed-off-by: Alexandru Vasile * Update Cargo.lock for polkadot Signed-off-by: Alexandru Vasile --------- Signed-off-by: Alexandru Vasile Co-authored-by: Davide Galassi Co-authored-by: parity-processbot <> --- .../relay-chain-rpc-interface/src/reconnecting_ws_client.rs | 4 +++- cumulus/pallets/parachain-system/src/lib.rs | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cumulus/client/relay-chain-rpc-interface/src/reconnecting_ws_client.rs b/cumulus/client/relay-chain-rpc-interface/src/reconnecting_ws_client.rs index e03525226b..803a27d00f 100644 --- a/cumulus/client/relay-chain-rpc-interface/src/reconnecting_ws_client.rs +++ b/cumulus/client/relay-chain-rpc-interface/src/reconnecting_ws_client.rs @@ -161,7 +161,9 @@ impl ReconnectingWsClient { } } -/// Worker that should be used in combination with [`RelayChainRpcClient`]. Must be polled to distribute header notifications to listeners. +/// Worker that should be used in combination with [`crate::RelayChainRpcClient`]. +/// +/// Must be polled to distribute header notifications to listeners. struct ReconnectingWebsocketWorker { ws_urls: Vec, /// Communication channel with the RPC client diff --git a/cumulus/pallets/parachain-system/src/lib.rs b/cumulus/pallets/parachain-system/src/lib.rs index fde408c08e..cbbfc92f60 100644 --- a/cumulus/pallets/parachain-system/src/lib.rs +++ b/cumulus/pallets/parachain-system/src/lib.rs @@ -692,7 +692,7 @@ pub mod pallet { /// A custom head data that should be returned as result of `validate_block`. /// - /// See [`Pallet::set_custom_validation_head_data`] for more information. + /// See `Pallet::set_custom_validation_head_data` for more information. #[pallet::storage] pub(super) type CustomValidationHeadData = StorageValue<_, Vec, OptionQuery>; @@ -872,7 +872,7 @@ impl Pallet { /// Process all inbound horizontal messages relayed by the collator. /// - /// This is similar to [`process_inbound_downward_messages`], but works on multiple inbound + /// This is similar to `Pallet::process_inbound_downward_messages`, but works on multiple inbound /// channels. /// /// **Panics** if either any of horizontal messages submitted by the collator was sent from