Skip to content

Commit 73a00ff

Browse files
authored
add Send to batch_get_or_else (#297)
Signed-off-by: Joe Zhou <[email protected]>
1 parent b7b8b8b commit 73a00ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transaction/buffer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl Buffer {
6969
f: F,
7070
) -> Result<impl Iterator<Item = KvPair>>
7171
where
72-
F: FnOnce(Box<dyn Iterator<Item = Key>>) -> Fut,
72+
F: FnOnce(Box<dyn Iterator<Item = Key> + Send>) -> Fut,
7373
Fut: Future<Output = Result<Vec<KvPair>>>,
7474
{
7575
let (cached_results, undetermined_keys) = {

0 commit comments

Comments
 (0)