Skip to content

Commit 35459b6

Browse files
author
Jason Boatman
committed
Add Send trait bound on KvFuture
Signed-off-by: Jason Boatman <[email protected]>
1 parent 5236eba commit 35459b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ impl Config {
538538
}
539539
}
540540

541-
pub type KvFuture<Resp> = Box<dyn Future<Item = Resp, Error = Error>>;
541+
pub type KvFuture<Resp> = Box<dyn Future<Item = Resp, Error = Error> + Send>;
542542

543543
/// A convenience trait for expressing ranges.
544544
///

0 commit comments

Comments
 (0)