add doc_markdown clippy lint (#8552)

Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Thomas Coratger
2024-06-03 15:21:45 +02:00
committed by GitHub
parent 34af610b8e
commit 7c17c6e469
440 changed files with 2166 additions and 2145 deletions

View File

@ -97,7 +97,7 @@ pub enum BlockValidationError {
DepositRequestDecode(String),
}
/// BlockExecutor Errors
/// `BlockExecutor` Errors
#[derive(Error, Debug)]
pub enum BlockExecutionError {
/// Validation error, transparently wrapping `BlockValidationError`
@ -148,7 +148,7 @@ impl BlockExecutionError {
Self::Other(Box::new(error))
}
/// Create a new [BlockExecutionError::Other] from a given message.
/// Create a new [`BlockExecutionError::Other`] from a given message.
pub fn msg(msg: impl Display) -> Self {
Self::Other(msg.to_string().into())
}