diff --git a/lib/src/async_db.rs b/lib/src/async_db.rs index d5f6801..3bd57d9 100644 --- a/lib/src/async_db.rs +++ b/lib/src/async_db.rs @@ -1,4 +1,4 @@ -use std::{marker::PhantomData, path::Path, sync::Arc}; +use std::{path::Path, sync::Arc}; use async_compression::tokio::bufread::ZstdDecoder; use async_compression::tokio::write::ZstdEncoder; @@ -48,7 +48,7 @@ where data_buf: Vec, table: Vec, compress_lvl: Level, - _t: PhantomData<*const T>, + _t: Option>, // PhantomData replacement } impl Writer @@ -69,7 +69,7 @@ where data_buf, table, compress_lvl, - _t: PhantomData, + _t: None, }) }