chore(trie): derive Clone on noop cursor factories (#13840)

This commit is contained in:
Roman Krasiuk
2025-01-17 11:48:46 +01:00
committed by GitHub
parent 83b5619889
commit 4147bd0dc9
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ use reth_primitives::Account;
use reth_storage_errors::db::DatabaseError; use reth_storage_errors::db::DatabaseError;
/// Noop hashed cursor factory. /// Noop hashed cursor factory.
#[derive(Default, Debug)] #[derive(Clone, Default, Debug)]
#[non_exhaustive] #[non_exhaustive]
pub struct NoopHashedCursorFactory; pub struct NoopHashedCursorFactory;

View File

@ -4,7 +4,7 @@ use alloy_primitives::B256;
use reth_storage_errors::db::DatabaseError; use reth_storage_errors::db::DatabaseError;
/// Noop trie cursor factory. /// Noop trie cursor factory.
#[derive(Default, Debug)] #[derive(Clone, Default, Debug)]
#[non_exhaustive] #[non_exhaustive]
pub struct NoopTrieCursorFactory; pub struct NoopTrieCursorFactory;