From b12048c38dae4403b73e6bee318b0dc632ddcd10 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Thu, 10 Aug 2023 11:48:34 +0300 Subject: [PATCH] PhantomData> for Send to Reader/Writer --- lib/src/db.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/db.rs b/lib/src/db.rs index 2336be0..c3c8ad8 100644 --- a/lib/src/db.rs +++ b/lib/src/db.rs @@ -54,7 +54,7 @@ where cur_buf_raw: Cursor>, table: Vec, compress_lvl: i32, - _t: PhantomData<*const T>, + _t: PhantomData>, } impl Writer @@ -158,7 +158,7 @@ where mmap: Mmap, count: usize, first_pos: LSize, - _t: Option>, // PhantomData replacement + _t: PhantomData>, } impl Reader @@ -179,7 +179,7 @@ where mmap, count, first_pos, - _t: None, + _t: PhantomData, }) }