CI: Check that rustdocs can be generated (#972)

This commit is contained in:
Bastian Köcher
2022-02-09 13:24:42 +01:00
committed by GitHub
parent e4576e541d
commit 1a7a452795
7 changed files with 18 additions and 8 deletions
+2 -2
View File
@@ -18,7 +18,7 @@
//!
//! This extends the Substrate provided AuRa consensus implementation to make it compatible for
//! parachains. The main entry points for of this consensus algorithm are [`AuraConsensus::build`]
//! and [`import_queue`].
//! and [`fn@import_queue`].
//!
//! For more information about AuRa, the Substrate crate should be checked.
@@ -216,7 +216,7 @@ where
}
}
/// Parameters of [`AuraConsensus:build`].
/// Parameters of [`AuraConsensus::build`].
pub struct BuildAuraConsensusParams<PF, BI, CIDP, Client, BS, SO> {
pub proposer_factory: PF,
pub create_inherent_data_providers: CIDP,
+1 -1
View File
@@ -211,7 +211,7 @@ impl TryFrom<&'_ CollationSecondedSignal> for BlockAnnounceData {
/// will call this validator and provides the extra data that was attached to the announcement.
/// We call this extra data `justification`.
/// It is expected that the attached data is a SCALE encoded [`BlockAnnounceData`]. The
/// statement is checked to be a [`CompactStatement::Candidate`] and that it is signed by an active
/// statement is checked to be a [`CompactStatement::Seconded`] and that it is signed by an active
/// parachain validator.
///
/// If no justification was provided we check if the block announcement is at the tip of the known