dev-comment spelling mistakes (#4434)

This commit is contained in:
Bernhard Schuster
2021-12-06 15:20:29 +01:00
committed by GitHub
parent 854d92a4a4
commit 4adb8466a3
26 changed files with 59 additions and 59 deletions
@@ -269,7 +269,7 @@ impl DisputeSender {
// but I don't want to enable a bypass for the below smart constructor and this code path
// is supposed to be only hit on startup basically.
//
// Revisit this decision when the `from_signed_statements` is unneded for the normal code
// Revisit this decision when the `from_signed_statements` is unneeded for the normal code
// path as well.
let message = DisputeMessage::from_signed_statements(
valid_signed,
@@ -363,7 +363,7 @@ fn send_dispute_gets_cleaned_up() {
)
.await;
// Yield, so subsystem can make progess:
// Yield, so subsystem can make progress:
Delay::new(Duration::from_millis(2)).await;
conclude(&mut handle).await;
@@ -582,7 +582,7 @@ async fn conclude(handle: &mut TestSubsystemContextHandle<DisputeDistributionMes
poll_fn(|ctx| {
let fut = handle.recv();
pin_mut!(fut);
// No requests should be inititated, as there is no longer any dispute active:
// No requests should be initiated, as there is no longer any dispute active:
assert_matches!(fut.poll(ctx), Poll::Pending, "No requests expected");
Poll::Ready(())
})