Skip to content

Commit 52de269

Browse files
committed
fix clippy
1 parent 1986cb1 commit 52de269

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

postgres-protocol/src/message/backend.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -450,9 +450,9 @@ impl CopyDataBody {
450450
}
451451

452452
pub struct CopyInResponseBody {
453-
storage: Bytes,
454-
len: u16,
455453
format: u8,
454+
len: u16,
455+
storage: Bytes,
456456
}
457457

458458
impl CopyInResponseBody {
@@ -504,9 +504,9 @@ impl<'a> FallibleIterator for ColumnFormats<'a> {
504504
}
505505

506506
pub struct CopyOutResponseBody {
507-
storage: Bytes,
508-
len: u16,
509507
format: u8,
508+
len: u16,
509+
storage: Bytes,
510510
}
511511

512512
impl CopyOutResponseBody {

0 commit comments

Comments
 (0)