Skip to content

Commit 1fd1836

Browse files
authored
Merge pull request #36 from Snnappie/master
Add `Send` trait bound on `KvFuture`
2 parents d932a20 + acfa500 commit 1fd1836

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)