Loading openssl/src/ssl/mod.rs +4 −4 Original line number Diff line number Diff line Loading @@ -1010,11 +1010,11 @@ pub struct SslStream<S> { unsafe impl<S: Send> Send for SslStream<S> {} impl<S: Clone + Read + Write> Clone for SslStream<S> { /// # Deprecated /// /// This method does not behave as expected and will be removed in a future /// release. impl<S: Clone + Read + Write> Clone for SslStream<S> { fn clone(&self) -> SslStream<S> { SslStream { ssl: self.ssl.clone(), Loading Loading
openssl/src/ssl/mod.rs +4 −4 Original line number Diff line number Diff line Loading @@ -1010,11 +1010,11 @@ pub struct SslStream<S> { unsafe impl<S: Send> Send for SslStream<S> {} impl<S: Clone + Read + Write> Clone for SslStream<S> { /// # Deprecated /// /// This method does not behave as expected and will be removed in a future /// release. impl<S: Clone + Read + Write> Clone for SslStream<S> { fn clone(&self) -> SslStream<S> { SslStream { ssl: self.ssl.clone(), Loading