mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 02:17:58 +00:00
thiserror annotations + spelling (#3452)
* remove duplicate thiserror annotations * chore: cargo spellcheck
This commit is contained in:
committed by
GitHub
parent
b5257b2407
commit
d76560fea2
@@ -86,7 +86,7 @@ use thiserror::Error;
|
||||
/// SomeFatalError,
|
||||
/// /// Errors coming from runtime::Runtime.
|
||||
/// #[error("Error while accessing runtime information")]
|
||||
/// Runtime(#[from] #[source] runtime::Fatal),
|
||||
/// Runtime(#[from] runtime::Fatal),
|
||||
/// }
|
||||
///
|
||||
/// #[derive(Debug, Error)]
|
||||
@@ -98,7 +98,7 @@ use thiserror::Error;
|
||||
///
|
||||
/// /// Errors coming from runtime::Runtime.
|
||||
/// #[error("Error while accessing runtime information")]
|
||||
/// Runtime(#[from] #[source] runtime::NonFatal),
|
||||
/// Runtime(#[from] runtime::NonFatal),
|
||||
/// }
|
||||
/// ```
|
||||
/// Then mostly use `Error` in functions, you may also use `NonFatal` and `Fatal` directly in
|
||||
|
||||
Reference in New Issue
Block a user