Skip to content

Commit 4cf1d0d

Browse files
committed
Elide lifetimes thanks to clippy
1 parent 775ea53 commit 4cf1d0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parse/link_layer.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ fn parse_ack(_input: &mut &Bytes) -> MBResult<Packet> {
226226
Ok(Packet::Ack)
227227
}
228228

229-
impl<'a> Packet {
230-
pub fn parse(input: &mut &'a Bytes) -> MBResult<Packet> {
229+
impl Packet {
230+
pub fn parse(input: &mut &Bytes) -> MBResult<Packet> {
231231
alt((
232232
preceded(
233233
LONG_FRAME_HEADER.void(),

0 commit comments

Comments
 (0)