Skip to content

Commit 90f5567

Browse files
committed
Cleanup
1 parent b8595c7 commit 90f5567

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1923,7 +1923,7 @@ impl<'a> CopyInStatement<'a> {
19231923
// FIXME this is not the right way to handle this
19241924
try_desync!(conn, conn.stream.write_message(
19251925
&CopyFail {
1926-
message: &*format!("{}", err),
1926+
message: &*err.to_string(),
19271927
}));
19281928
break 'l;
19291929
}

0 commit comments

Comments
 (0)