Skip to content

Commit c7a8adf

Browse files
committed
remove unneeded ref
1 parent 50fa995 commit c7a8adf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio-postgres/src/transaction.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,6 @@ impl<'a> Transaction<'a> {
309309

310310
/// Returns a reference to the underlying `Client`.
311311
pub fn client(&self) -> &Client {
312-
&self.client
312+
self.client
313313
}
314314
}

0 commit comments

Comments
 (0)