Skip to content

Commit 13fd950

Browse files
dvicjbg
authored andcommitted
indicate that future of TlsConnect is Send
1 parent 7f7e379 commit 13fd950

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
@@ -58,7 +58,7 @@ where
5858
{
5959
type Stream = RustlsStream<S>;
6060
type Error = io::Error;
61-
type Future = Pin<Box<dyn Future<Output = io::Result<RustlsStream<S>>>>>;
61+
type Future = Pin<Box<dyn Future<Output = io::Result<RustlsStream<S>>> + Send>>;
6262

6363
fn connect(self, stream: S) -> Self::Future {
6464
self.connector

0 commit comments

Comments
 (0)