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 authored and GitHub committed 2022-01-10 12:28:20 +01:00
1 parent 0da05cac26
commit 9514caee88
4 files changed
+26 -12

No files matched your search

@@ -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.