Fix deprecation location

This commit is contained in:
Steven Fackler 2015-12-18 22:21:23 -08:00
parent 4f0a7e24d1
commit a31acdbb93
1 changed files with 4 additions and 4 deletions

View File

@ -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(),