From 98224cf91337aa312b72de87ea4c1b22794619b2 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 15 Oct 2022 16:53:34 -0500 Subject: fix clippy warnings --- azalea-protocol/src/read.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-protocol/src/read.rs') diff --git a/azalea-protocol/src/read.rs b/azalea-protocol/src/read.rs index 16820846..8d8bc731 100644 --- a/azalea-protocol/src/read.rs +++ b/azalea-protocol/src/read.rs @@ -106,7 +106,7 @@ fn parse_frame(buffer: &mut BytesMut) -> Result { Ok(data) } -fn frame_splitter<'a>(buffer: &'a mut BytesMut) -> Result>, FrameSplitterError> { +fn frame_splitter(buffer: &mut BytesMut) -> Result>, FrameSplitterError> { // https://tokio.rs/tokio/tutorial/framing let read_frame = parse_frame(buffer); match read_frame { -- cgit v1.2.3