Skip to content

Commit b1d8eca

Browse files
committed
chore: Fix clippy
1 parent 067e384 commit b1d8eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packet.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ impl From<PacketType> for u16 {
8585
}
8686
}
8787

88-
impl<'a> Packet<'a> {
88+
impl Packet<'_> {
8989
pub(crate) fn decode(data: &[u8]) -> Result<Packet> {
9090
parse_packet(data)
9191
}

0 commit comments

Comments
 (0)