Compare commits

..

No commits in common. "9c4882fbbb5fdfda8a1163b30607635b16e27648" and "68b276ce5e6e7e238a7ef7481543de5c0f778512" have entirely different histories.

View File

@ -41,7 +41,7 @@ where
cur_buf_raw: Cursor<Vec<u8>>,
table: Vec<LSize>,
compress_lvl: i32,
_t: PhantomData<Arc<T>>,
_t: PhantomData<*const T>,
}
impl<T> Writer<T>
@ -145,7 +145,7 @@ where
mmap: Mmap,
count: usize,
first_pos: LSize,
_t: PhantomData<Arc<T>>,
_t: Option<Arc<T>>, // PhantomData replacement
}
impl<T> Reader<T>
@ -166,7 +166,7 @@ where
mmap,
count,
first_pos,
_t: PhantomData,
_t: None,
})
}