Commit a31acdbb authored by Steven Fackler's avatar Steven Fackler
Browse files

Fix deprecation location

parent 4f0a7e24
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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(),