Skip to content

Commit 7fbf0ce

Browse files
committed
style(codec): fix rustfmt formatting in impl_empty_packet macro
1 parent d5c8583 commit 7fbf0ce

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ macro_rules! impl_empty_packet {
3030
impl $crate::Packet for $name {
3131
const PACKET_ID: i32 = $id;
3232

33-
fn decode(
34-
_data: ::bytes::Bytes,
35-
) -> Result<Self, $crate::packet::PacketDecodeError> {
33+
fn decode(_data: ::bytes::Bytes) -> Result<Self, $crate::packet::PacketDecodeError> {
3634
Ok(Self)
3735
}
3836

0 commit comments

Comments
 (0)