Skip to content

Commit c319547

Browse files
committed
fix: clippy
1 parent ee4128f commit c319547

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

crates/node/src/test_utils/fixture.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ impl TestFixtureBuilder {
646646

647647
/// Enable Anvil L1 with optional configuration.
648648
///
649-
/// Defaults: state_path = `./tests/testdata/anvil_state.json`, others use Anvil defaults.
649+
/// Defaults: `state_path` = `./tests/testdata/anvil_state.json`, others use Anvil defaults.
650650
pub fn with_anvil(
651651
mut self,
652652
state_path: Option<PathBuf>,

crates/node/src/test_utils/reboot.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! Provides `shutdown_node()` and `start_node()` to test:
44
//! - State persistence across reboots
5-
//! - ForkchoiceState restoration from database
5+
//! - `ForkchoiceState` restoration from database
66
//! - L1 event processing continuity
77
88
use std::time::Duration;
@@ -14,7 +14,7 @@ use crate::test_utils::{fixture::ScrollNodeTestComponents, setup_engine, NodeHan
1414
impl TestFixture {
1515
/// Gracefully shutdown a node and clean up its resources.
1616
///
17-
/// Process: Shutdown ChainOrchestrator → Drop NodeHandle → Wait for cleanup (1s).
17+
/// Process: Shutdown `ChainOrchestrator` → Drop `NodeHandle` → Wait for cleanup (1s).
1818
/// The node can be restarted later with `start_node()` to reuse its database.
1919
pub async fn shutdown_node(&mut self, node_index: usize) -> eyre::Result<()> {
2020
if node_index >= self.nodes.len() {
@@ -77,7 +77,7 @@ impl TestFixture {
7777

7878
/// Restart a previously shutdown node.
7979
///
80-
/// Reuses the existing database and restores ForkchoiceState from persisted data.
80+
/// Reuses the existing database and restores `ForkchoiceState` from persisted data.
8181
pub async fn start_node(&mut self, node_index: usize) -> eyre::Result<()> {
8282
if node_index >= self.nodes.len() {
8383
return Err(eyre::eyre!(

0 commit comments

Comments
 (0)