From b2dc763ed9fe23c590d9fa8336baf5202c252b68 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Thu, 26 Oct 2023 00:19:17 +0200 Subject: [PATCH] strange lint issue --- execution_engine/src/storage/trie_store/operations/mod.rs | 5 +++-- node/src/components/network/outgoing.rs | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/execution_engine/src/storage/trie_store/operations/mod.rs b/execution_engine/src/storage/trie_store/operations/mod.rs index bbc9c83c90..726143dc99 100644 --- a/execution_engine/src/storage/trie_store/operations/mod.rs +++ b/execution_engine/src/storage/trie_store/operations/mod.rs @@ -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 { diff --git a/node/src/components/network/outgoing.rs b/node/src/components/network/outgoing.rs index ce5d87944c..871a968a48 100644 --- a/node/src/components/network/outgoing.rs +++ b/node/src/components/network/outgoing.rs @@ -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`. //!