Skip to content

Commit 5fbabb3

Browse files
bkontursvyatonik
authored andcommitted
Try check-rustdoc pipeline (#1782)
* Try check-rustdoc pipeline * another try * another try without `--all-features` * fixed cargo doc issues * exclude relay-rialto-parachain-client from cargo doc --------- Co-authored-by: Svyatoslav Nikolsky <[email protected]>
1 parent e55d4dd commit 5fbabb3

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

bridges/bin/rialto-parachain/runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
//! The Rialto parachain runtime. This can be compiled with `#[no_std]`, ready for Wasm.
1818
//!
19-
//! Originally a copy of runtime from https://github.com/substrate-developer-hub/substrate-parachain-template.
19+
//! Originally a copy of runtime from <https://github.com/substrate-developer-hub/substrate-parachain-template>.
2020
2121
#![cfg_attr(not(feature = "std"), no_std)]
2222
// `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.

bridges/bin/runtime-common/src/messages_xcm_extension.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
// along with Parity Bridges Common. If not, see <http://www.gnu.org/licenses/>.
1616

1717
//! Module provides utilities for easier XCM handling, e.g:
18-
//! [`XcmExecutor`] -> [`MessageSender`] -> <outbound message queue>
18+
//! `XcmExecutor` -> `MessageSender` -> `OutboundMessageQueue`
1919
//! |
20-
//! <relayer>
20+
//! `Relayer`
2121
//! |
22-
//! [`XcmRouter`] <- [`MessageDispatch`] <- <inbound message queue>
22+
//! `XcmRouter` <- `MessageDispatch` <- `InboundMessageQueue`
2323
2424
use bp_messages::{
2525
source_chain::MessagesBridge,
@@ -136,7 +136,7 @@ pub trait XcmBlobHauler {
136136
/// Runtime message sender adapter.
137137
type MessageSender: MessagesBridge<Self::MessageSenderOrigin, XcmAsPlainPayload>;
138138

139-
/// Runtime message sender origin, which is used by [`MessageSender`].
139+
/// Runtime message sender origin, which is used by [`Self::MessageSender`].
140140
type MessageSenderOrigin;
141141
/// Our location within the Consensus Universe.
142142
fn message_sender_origin() -> Self::MessageSenderOrigin;
@@ -145,8 +145,8 @@ pub trait XcmBlobHauler {
145145
fn xcm_lane() -> LaneId;
146146
}
147147

148-
/// XCM bridge adapter which connects [`XcmBlobHauler`] with [`MessageSender`] and makes sure that
149-
/// XCM blob is sent to the [`pallet_bridge_messages`] queue to be relayed.
148+
/// XCM bridge adapter which connects [`XcmBlobHauler`] with [`XcmBlobHauler::MessageSender`] and
149+
/// makes sure that XCM blob is sent to the [`pallet_bridge_messages`] queue to be relayed.
150150
pub struct XcmBlobHaulerAdapter<XcmBlobHauler>(sp_std::marker::PhantomData<XcmBlobHauler>);
151151
impl<HaulerOrigin, H: XcmBlobHauler<MessageSenderOrigin = HaulerOrigin>> HaulBlob
152152
for XcmBlobHaulerAdapter<H>

bridges/primitives/chain-millau/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ pub const MAX_AUTHORITIES_COUNT: u32 = 5;
8686

8787
/// Reasonable number of headers in the `votes_ancestries` on Millau chain.
8888
///
89-
/// See [`bp_header_chain::ChainWithGrandpa`] for more details.
89+
/// See [`bp-header-chain::ChainWithGrandpa`] for more details.
9090
pub const REASONABLE_HEADERS_IN_JUSTIFICATON_ANCESTRY: u32 = 8;
9191

9292
/// Approximate average header size in `votes_ancestries` field of justification on Millau chain.
9393
///
94-
/// See [`bp_header_chain::ChainWithGrandpa`] for more details.
94+
/// See [`bp-header-chain::ChainWithGrandpa`] for more details.
9595
pub const AVERAGE_HEADER_SIZE_IN_JUSTIFICATION: u32 = 256;
9696

9797
/// Approximate maximal header size on Millau chain.
@@ -100,7 +100,7 @@ pub const AVERAGE_HEADER_SIZE_IN_JUSTIFICATION: u32 = 256;
100100
/// engine (GRANDPA, Babe, BEEFY, ...) - so we multiply it by 3. And also
101101
/// `AVERAGE_HEADER_SIZE_IN_JUSTIFICATION` bytes for other stuff.
102102
///
103-
/// See [`bp_header_chain::ChainWithGrandpa`] for more details.
103+
/// See [`bp-header-chain::ChainWithGrandpa`] for more details.
104104
pub const MAX_HEADER_SIZE: u32 = MAX_AUTHORITIES_COUNT
105105
.saturating_mul(3)
106106
.saturating_add(AVERAGE_HEADER_SIZE_IN_JUSTIFICATION);

bridges/primitives/chain-rialto/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ pub const MAX_AUTHORITIES_COUNT: u32 = 5;
7575

7676
/// Reasonable number of headers in the `votes_ancestries` on Rialto chain.
7777
///
78-
/// See [`bp_header_chain::ChainWithGrandpa`] for more details.
78+
/// See [`bp-header-chain::ChainWithGrandpa`] for more details.
7979
pub const REASONABLE_HEADERS_IN_JUSTIFICATON_ANCESTRY: u32 = 8;
8080

8181
/// Approximate average header size in `votes_ancestries` field of justification on Rialto chain.
8282
///
83-
/// See [`bp_header_chain::ChainWithGrandpa`] for more details.
83+
/// See [`bp-header-chain::ChainWithGrandpa`] for more details.
8484
pub const AVERAGE_HEADER_SIZE_IN_JUSTIFICATION: u32 = 256;
8585

8686
/// Approximate maximal header size on Rialto chain.
@@ -89,7 +89,7 @@ pub const AVERAGE_HEADER_SIZE_IN_JUSTIFICATION: u32 = 256;
8989
/// engine (GRANDPA, Babe, BEEFY, ...) - so we multiply it by 3. And also
9090
/// `AVERAGE_HEADER_SIZE_IN_JUSTIFICATION` bytes for other stuff.
9191
///
92-
/// See [`bp_header_chain::ChainWithGrandpa`] for more details.
92+
/// See [`bp-header-chain::ChainWithGrandpa`] for more details.
9393
pub const MAX_HEADER_SIZE: u32 = MAX_AUTHORITIES_COUNT
9494
.saturating_mul(3)
9595
.saturating_add(AVERAGE_HEADER_SIZE_IN_JUSTIFICATION);

bridges/primitives/polkadot-core/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub const MAX_AUTHORITIES_COUNT: u32 = 1_256;
5454

5555
/// Reasonable number of headers in the `votes_ancestries` on Polkadot-like chains.
5656
///
57-
/// See [`bp_header_chain::ChainWithGrandpa`] for more details.
57+
/// See [`bp-header-chain::ChainWithGrandpa`] for more details.
5858
///
5959
/// This value comes from recent (February, 2023) Kusama and Polkadot headers. There are no
6060
/// justifications with any additional headers in votes ancestry, so reasonable headers may
@@ -65,7 +65,7 @@ pub const REASONABLE_HEADERS_IN_JUSTIFICATON_ANCESTRY: u32 = 2;
6565
/// Approximate average header size in `votes_ancestries` field of justification on Polkadot-like
6666
/// chains.
6767
///
68-
/// See [`bp_header_chain::ChainWithGrandpa`] for more details.
68+
/// See [`bp-header-chain::ChainWithGrandpa`] for more details.
6969
///
7070
/// This value comes from recent (February, 2023) Kusama headers. Average is `336` there, but some
7171
/// non-mandatory headers has size `40kb` (they contain the BABE epoch descriptor with all
@@ -75,7 +75,7 @@ pub const AVERAGE_HEADER_SIZE_IN_JUSTIFICATION: u32 = 20 * 1024;
7575

7676
/// Approximate maximal header size on Polkadot-like chains.
7777
///
78-
/// See [`bp_header_chain::ChainWithGrandpa`] for more details.
78+
/// See [`bp-header-chain::ChainWithGrandpa`] for more details.
7979
///
8080
/// This value comes from recent (February, 2023) Kusama headers. Maximal header is a mandatory
8181
/// header. In its SCALE-encoded form it is `80348` bytes. Let's have some reserve here.

bridges/relays/lib-substrate-relay/src/messages_source.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
//! Substrate client as Substrate messages source. The chain we connect to should have
1818
//! runtime that implements `<BridgedChainName>HeaderApi` to allow bridging with
19-
//! <BridgedName> chain.
19+
//! `<BridgedName>` chain.
2020
2121
use crate::{
2222
messages_lane::{

bridges/relays/lib-substrate-relay/src/messages_target.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
//! Substrate client as Substrate messages target. The chain we connect to should have
1818
//! runtime that implements `<BridgedChainName>HeaderApi` to allow bridging with
19-
//! <BridgedName> chain.
19+
//! `<BridgedName>` chain.
2020
2121
use crate::{
2222
messages_lane::{

0 commit comments

Comments
 (0)