Merge branch 'master' into async
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
commit
9c4882fbbb
@ -41,7 +41,7 @@ where
|
||||
cur_buf_raw: Cursor<Vec<u8>>,
|
||||
table: Vec<LSize>,
|
||||
compress_lvl: i32,
|
||||
_t: PhantomData<*const T>,
|
||||
_t: PhantomData<Arc<T>>,
|
||||
}
|
||||
|
||||
impl<T> Writer<T>
|
||||
@ -145,7 +145,7 @@ where
|
||||
mmap: Mmap,
|
||||
count: usize,
|
||||
first_pos: LSize,
|
||||
_t: Option<Arc<T>>, // PhantomData replacement
|
||||
_t: PhantomData<Arc<T>>,
|
||||
}
|
||||
|
||||
impl<T> Reader<T>
|
||||
@ -166,7 +166,7 @@ where
|
||||
mmap,
|
||||
count,
|
||||
first_pos,
|
||||
_t: None,
|
||||
_t: PhantomData,
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user