diff options
| author | mat <github@matdoes.dev> | 2022-10-15 16:53:34 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-10-15 16:53:34 -0500 |
| commit | 98224cf91337aa312b72de87ea4c1b22794619b2 (patch) | |
| tree | a00f3468543d292c1b6f4eb212fcc3e3b3e13e2e /azalea-protocol/src/read.rs | |
| parent | a348f67b9646cf51bedf413bf79271391bdb23b2 (diff) | |
| download | azalea-drasl-98224cf91337aa312b72de87ea4c1b22794619b2.tar.xz | |
fix clippy warnings
Diffstat (limited to 'azalea-protocol/src/read.rs')
| -rw-r--r-- | azalea-protocol/src/read.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<BytesMut, FrameSplitterError> { Ok(data) } -fn frame_splitter<'a>(buffer: &'a mut BytesMut) -> Result<Option<Vec<u8>>, FrameSplitterError> { +fn frame_splitter(buffer: &mut BytesMut) -> Result<Option<Vec<u8>>, FrameSplitterError> { // https://tokio.rs/tokio/tutorial/framing let read_frame = parse_frame(buffer); match read_frame { |
