diff --git a/crates/storage/db/src/tables/mod.rs b/crates/storage/db/src/tables/mod.rs index 3a0f8f1c73..a33d69f84c 100644 --- a/crates/storage/db/src/tables/mod.rs +++ b/crates/storage/db/src/tables/mod.rs @@ -17,7 +17,7 @@ pub mod models; mod raw; pub(crate) mod utils; -pub use raw::{RawDubSort, RawKey, RawTable, RawValue}; +pub use raw::{RawDupSort, RawKey, RawTable, RawValue}; /// Declaration of all Database tables. use crate::{ diff --git a/crates/storage/db/src/tables/raw.rs b/crates/storage/db/src/tables/raw.rs index aa23bffce0..883c759b62 100644 --- a/crates/storage/db/src/tables/raw.rs +++ b/crates/storage/db/src/tables/raw.rs @@ -19,14 +19,14 @@ impl Table for RawTable { type Value = RawValue; } -/// Raw DubSort table that can be used to access any table and its data in raw mode. +/// Raw DupSort table that can be used to access any table and its data in raw mode. /// This is useful for delayed decoding/encoding of data. #[derive(Default, Copy, Clone, Debug)] -pub struct RawDubSort { +pub struct RawDupSort { phantom: std::marker::PhantomData, } -impl Table for RawDubSort { +impl Table for RawDupSort { const NAME: &'static str = T::NAME; type Key = RawKey; @@ -34,7 +34,7 @@ impl Table for RawDubSort { type Value = RawValue; } -impl DupSort for RawDubSort { +impl DupSort for RawDupSort { type SubKey = RawKey; }