mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(trie): derive Clone on noop cursor factories (#13840)
This commit is contained in:
@ -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;
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user