mirror of https://github.com/ctz/rustls
StreamOwned: fix get_mut signature
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
This commit is contained in:
parent
56c0daf17c
commit
21642466a3
|
@ -108,7 +108,7 @@ impl<S, T> StreamOwned<S, T> where S: Session, T: Read + Write {
|
|||
}
|
||||
|
||||
/// Get a mutable reference to the underlying socket
|
||||
pub fn get_mut(&mut self) -> &T {
|
||||
pub fn get_mut(&mut self) -> &mut T {
|
||||
&mut self.sock
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue