Skip to content

Commit

Permalink
Update comment formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafał Chabowski committed Oct 26, 2023
1 parent 067a5e8 commit 15e1417
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions execution_engine/src/storage/trie_store/operations/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,9 @@ where
let trie_key = new_extension.trie_hash()?;
new_elements.push((trie_key, new_extension))
}
// The single sibling is an extension. We output an extension to replace
// the parent, prepending the sibling index to the sibling's affix. In
// The single sibling is an extension. We output an extension to
// replace the parent, prepending the
// sibling index to the sibling's affix. In
// the next loop iteration, we will handle the case where this extension
// might need to be combined with a grandparent extension.
Trie::Extension {
Expand Down
4 changes: 2 additions & 2 deletions node/src/components/network/outgoing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
//! * The `Dialer` is expected to produce `DialOutcomes` for every dial [`DialRequest::Dial`]
//! eventually. These must be forwarded to the `OutgoingManager` via the `handle_dial_outcome`
//! function.
//! * The `perform_housekeeping` method must be called periodically to give the
//! `OutgoingManager` a chance to initiate reconnections and collect garbage.
//! * The `perform_housekeeping` method must be called periodically to give the `OutgoingManager` a
//! chance to initiate reconnections and collect garbage.
//! * When a connection is dropped, the connection manager must be notified via
//! `handle_connection_drop`.
//!
Expand Down

0 comments on commit 15e1417

Please sign in to comment.