Small mostly doc improvements (#4661)

* Better docs on non initialized state.

* Document better what is happening.

* More precise errors.

* cargo fmt
This commit is contained in:
Robert Klotzner
2022-01-10 12:28:20 +01:00
committed by GitHub
parent 0da05cac26
commit 9514caee88
4 changed files with 26 additions and 12 deletions
@@ -228,6 +228,9 @@ impl BoundToRelayParent for CollatorProtocolMessage {
}
/// Messages received by the dispute coordinator subsystem.
///
/// NOTE: Any response oneshots might get cancelled if the `DisputeCoordinator` was not yet
/// properly initialized for some reason.
#[derive(Debug)]
pub enum DisputeCoordinatorMessage {
/// Import statements by validators about a candidate.