We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5c8583 commit 7fbf0ceCopy full SHA for 7fbf0ce
1 file changed
src/lib.rs
@@ -30,9 +30,7 @@ macro_rules! impl_empty_packet {
30
impl $crate::Packet for $name {
31
const PACKET_ID: i32 = $id;
32
33
- fn decode(
34
- _data: ::bytes::Bytes,
35
- ) -> Result<Self, $crate::packet::PacketDecodeError> {
+ fn decode(_data: ::bytes::Bytes) -> Result<Self, $crate::packet::PacketDecodeError> {
36
Ok(Self)
37
}
38
0 commit comments