thiserror annotations + spelling (#3452)

* remove duplicate thiserror annotations

* chore: cargo spellcheck
This commit is contained in:
Bernhard Schuster
2021-07-09 14:31:52 +02:00
committed by GitHub
parent b5257b2407
commit d76560fea2
13 changed files with 27 additions and 25 deletions
@@ -77,7 +77,7 @@ pub enum Fatal {
/// Errors coming from runtime::Runtime.
#[error("Error while accessing runtime information")]
Runtime(#[from] #[source] runtime::Fatal),
Runtime(#[from] runtime::Fatal),
}
/// Errors for fetching of runtime information.
@@ -85,7 +85,7 @@ pub enum Fatal {
pub enum NonFatal {
/// Errors coming from runtime::Runtime.
#[error("Error while accessing runtime information")]
Runtime(#[from] #[source] runtime::NonFatal),
Runtime(#[from] runtime::NonFatal),
/// Relay parent was not present in active heads.
#[error("Relay parent could not be found in active heads")]