Remove unnecessar PhantomData
This commit is contained in:
parent
82300039fc
commit
b64819f28b
3 changed files with 21 additions and 14 deletions
|
|
@ -20,7 +20,6 @@ pub type FilePosition = u64;
|
|||
#[derive(Debug)]
|
||||
pub struct Store<T> {
|
||||
pub header: StoreHeader,
|
||||
pub data_type: PhantomData<T>,
|
||||
pub indexes: StoreIndexes<T>,
|
||||
}
|
||||
|
||||
|
|
@ -68,7 +67,6 @@ impl <T>Store<T> {
|
|||
|
||||
let store = Self {
|
||||
header,
|
||||
data_type: PhantomData::<T>,
|
||||
indexes,
|
||||
};
|
||||
|
||||
|
|
@ -171,7 +169,6 @@ impl <T>Store<T> {
|
|||
|
||||
let store = Self {
|
||||
header,
|
||||
data_type: PhantomData::<T>,
|
||||
indexes
|
||||
};
|
||||
Ok(store)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue