Skip to content

Commit

Permalink
fix: resolve lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
sunng87 committed Aug 3, 2023
1 parent 064d25d commit b74d134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/messages/startup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl Message for Startup {
}
}

codec::decode_packet(buf, 0, |buf, full_len| Self::decode_body(buf, full_len))
codec::decode_packet(buf, 0, Self::decode_body)
}

fn decode_body(buf: &mut BytesMut, _: usize) -> PgWireResult<Self> {
Expand Down

0 comments on commit b74d134

Please sign in to comment.