Skip to content

Commit 3e22395

Browse files
author
sicheng
committed
Send & Sync
1 parent 7c4dc32 commit 3e22395

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust/types/src/regex/literal_expr.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ pub trait NgramLiteralProvider<E, const N: usize = 3> {
7171
doc_range: DocRange,
7272
) -> Result<Vec<(&'me str, u32, RoaringBitmap)>, E>
7373
where
74-
NgramRange: RangeBounds<&'me str>,
75-
DocRange: RangeBounds<u32>;
74+
NgramRange: RangeBounds<&'me str> + Send + Sync,
75+
DocRange: RangeBounds<u32> + Send + Sync;
7676

7777
// Return the documents containing the literals. The search space is restricted to the documents in the mask if specified
7878
// If all documents could contain the literals, Ok(None) is returned

0 commit comments

Comments
 (0)