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.
///
/// 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
/// intentionally not exposed as part of the public API of the [`SledState`].
/// order. This function is called by [`process_queue`], which ensures order.
/// It is intentionally not exposed as part of the public API of the
/// [`SledState`].
fn commit_finalized(&mut self, queued_block: QueuedBlock) {
let QueuedBlock { block, rsp_tx } = queued_block;