File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -805,13 +805,7 @@ impl<S: Read+Write> SslStream<S> {
805
805
SslStream :: new_server_from ( ssl, stream)
806
806
}
807
807
808
- /// Returns a mutable reference to the underlying stream.
809
- ///
810
- /// ## Warning
811
- ///
812
- /// `read`ing or `write`ing directly to the underlying stream will most
813
- /// likely desynchronize the SSL session.
814
- #[ deprecated="use get_mut instead" ]
808
+ #[ doc( hidden) ]
815
809
pub fn get_inner ( & mut self ) -> & mut S {
816
810
self . get_mut ( )
817
811
}
Original file line number Diff line number Diff line change @@ -429,7 +429,6 @@ fn test_npn_server_advertise_multiple() {
429
429
mod dtlsv1 {
430
430
use serialize:: hex:: FromHex ;
431
431
use std:: net:: TcpStream ;
432
- use std:: old_io:: { Writer } ;
433
432
use std:: thread;
434
433
435
434
use crypto:: hash:: Type :: { SHA256 } ;
You can’t perform that action at this time.
0 commit comments