Split a sentence in a state comment

This commit is contained in:
teor 2020-09-16 11:16:47 +10:00 committed by Deirdre Connolly
parent a7d5a80517
commit c349f75ffe
1 changed files with 3 additions and 2 deletions

View File

@ -84,8 +84,9 @@ impl SledState {
/// Commit a finalized block to the state. /// Commit a finalized block to the state.
/// ///
/// It's the caller's responsibility to ensure that blocks are committed in /// It's the caller's responsibility to ensure that blocks are committed in
/// order. This function is called by [`process_queue`], which does, and is /// order. This function is called by [`process_queue`], which ensures order.
/// intentionally not exposed as part of the public API of the [`SledState`]. /// It is intentionally not exposed as part of the public API of the
/// [`SledState`].
fn commit_finalized(&mut self, queued_block: QueuedBlock) { fn commit_finalized(&mut self, queued_block: QueuedBlock) {
let QueuedBlock { block, rsp_tx } = queued_block; let QueuedBlock { block, rsp_tx } = queued_block;