mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-05-22 11:10:40 +00:00
Making u32fastfield send/sync
This commit is contained in:
@@ -101,6 +101,9 @@ pub struct U32FastFieldsReader {
|
||||
field_offsets: HashMap<Field, (u32, u32)>,
|
||||
}
|
||||
|
||||
unsafe impl Send for U32FastFieldsReader {}
|
||||
unsafe impl Sync for U32FastFieldsReader {}
|
||||
|
||||
impl U32FastFieldsReader {
|
||||
pub fn open(source: ReadOnlySource) -> io::Result<U32FastFieldsReader> {
|
||||
let header_offset;
|
||||
|
||||
Reference in New Issue
Block a user