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
@@ -46,7 +46,7 @@ use self::error::NonFatalResult;
/// The `DisputeSender` keeps track of all ongoing disputes we need to send statements out.
///
/// For each dispute a `SendTask` is responsible of sending to the concerned validators for that
/// For each dispute a `SendTask` is responsible for sending to the concerned validators for that
/// particular dispute. The `DisputeSender` keeps track of those tasks, informs them about new
/// sessions/validator sets and cleans them up when they become obsolete.
pub struct DisputeSender {
@@ -318,7 +318,7 @@ impl DisputeSender
/// Retrieve the currently active sessions.
///
/// List is all indeces of all active sessions together with the head that was used for the query.
/// List is all indices of all active sessions together with the head that was used for the query.
async fn get_active_session_indeces<Context: SubsystemContext>(
ctx: &mut Context,
runtime: &mut RuntimeInfo,