cargo spellcheck (#3067)

This commit is contained in:
Bernhard Schuster authored and GitHub committed 2021-05-22 00:15:47 +00:00
1 parent 9b06a38bb6
commit e8652e73db
34 files changed
+69 -69

No files matched your search

@@ -233,7 +233,7 @@ impl BitfieldDistribution {
}
}
/// Modify the reputation of a peer based on its behaviour.
/// Modify the reputation of a peer based on its behavior.
#[tracing::instrument(level = "trace", skip(ctx), fields(subsystem = LOG_TARGET))]
async fn modify_reputation<Context>(
ctx: &mut Context,
@@ -560,7 +560,7 @@ where
}
}
/// Handle the changes necassary when our view changes.
/// Handle the changes necessary when our view changes.
#[tracing::instrument(level = "trace", fields(subsystem = LOG_TARGET))]
fn handle_our_view_change(state: &mut ProtocolState, view: OurView) {
let old_view = std::mem::replace(&mut (state.view), view);