Skip to content

Commit bece000

Browse files
committed
Add a missing Send impl
1 parent 91c64b4 commit bece000

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,8 @@ pub struct Connection {
777777
conn: RefCell<InnerConnection>
778778
}
779779

780+
unsafe impl Send for Connection {}
781+
780782
impl Connection {
781783
/// Creates a new connection to a Postgres database.
782784
///

0 commit comments

Comments
 (0)