We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a33bcb8 commit 198bf07Copy full SHA for 198bf07
1 file changed
postgres/src/priv_io.rs
@@ -33,8 +33,8 @@ impl MessageStream {
33
}
34
35
36
- pub fn get_ref(&self) -> &Box<TlsStream> {
37
- self.stream.get_ref()
+ pub fn get_ref(&self) -> &TlsStream {
+ &**self.stream.get_ref()
38
39
40
pub fn write_message<F, E>(&mut self, f: F) -> result::Result<(), E>
0 commit comments