diff --git a/src/lib.rs b/src/lib.rs index 65340e2e..e9dee9ed 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -864,6 +864,11 @@ impl InnerConnection { } } +fn _ensure_send() { + fn _is_send() {} + _is_send::(); +} + /// A connection to a Postgres database. pub struct Connection { conn: RefCell