mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
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:
@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user