We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2f4996 commit a341a01Copy full SHA for a341a01
sqlx-core/src/postgres/copy.rs
@@ -304,7 +304,7 @@ impl<C: DerefMut<Target = PgConnection>> PgCopyIn<C> {
304
impl<C: DerefMut<Target = PgConnection>> Drop for PgCopyIn<C> {
305
fn drop(&mut self) {
306
if let Some(mut conn) = self.conn.take() {
307
- conn.stream.write(message::CopyFail::new(
+ conn.stream.write(CopyFail::new(
308
"PgCopyIn dropped without calling finish() or fail()",
309
));
310
}
0 commit comments