Skip to content

Commit 198bf07

Browse files
committed
Little cleanup
1 parent a33bcb8 commit 198bf07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postgres/src/priv_io.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ impl MessageStream {
3333
}
3434
}
3535

36-
pub fn get_ref(&self) -> &Box<TlsStream> {
37-
self.stream.get_ref()
36+
pub fn get_ref(&self) -> &TlsStream {
37+
&**self.stream.get_ref()
3838
}
3939

4040
pub fn write_message<F, E>(&mut self, f: F) -> result::Result<(), E>

0 commit comments

Comments
 (0)