Fix test-rustdoc (#1266)

* Fix `test-rustdoc`

* ".git/.scripts/commands/fmt/fmt.sh"

---------

Co-authored-by: command-bot <>
This commit is contained in:
Bastian Köcher
2023-08-29 21:23:38 +02:00
committed by GitHub
parent 430edd7535
commit 9acb06717e
30 changed files with 71 additions and 73 deletions
+2 -2
View File
@@ -263,9 +263,9 @@ impl SignedDisputeStatement {
self.session_index
}
/// Convert a [`SignedFullStatement`] to a [`SignedDisputeStatement`]
/// Convert a unchecked backing statement to a [`SignedDisputeStatement`]
///
/// As [`SignedFullStatement`] contains only the validator index and
/// As the unchecked backing statement contains only the validator index and
/// not the validator public key, the public key must be passed as well,
/// along with the signing context.
///
+4 -4
View File
@@ -463,8 +463,8 @@ impl CollationResult {
/// Collation function.
///
/// Will be called with the hash of the relay chain block the parachain block should be build on and
/// the [`ValidationData`] that provides information about the state of the parachain on the relay
/// chain.
/// the [`PersistedValidationData`] that provides information about the state of the parachain on
/// the relay chain.
///
/// Returns an optional [`CollationResult`].
#[cfg(not(target_os = "unknown"))]
@@ -498,7 +498,7 @@ impl std::fmt::Debug for CollationGenerationConfig {
}
}
/// Parameters for [`CollationGenerationMessage::SubmitCollation`].
/// Parameters for `CollationGenerationMessage::SubmitCollation`.
#[derive(Debug)]
pub struct SubmitCollationParams {
/// The relay-parent the collation is built against.
@@ -634,7 +634,7 @@ pub struct ErasureChunk {
}
impl ErasureChunk {
/// Convert bounded Vec Proof to regular Vec<Vec<u8>>
/// Convert bounded Vec Proof to regular `Vec<Vec<u8>>`
pub fn proof(&self) -> &Proof {
&self.proof
}