fix clippy error

This commit is contained in:
Scott Lamb 2022-05-11 13:22:45 -07:00
parent 88eaab7fb8
commit 444afdd35d

View File

@ -333,7 +333,7 @@ impl<'a> PacketRef<'a> {
/// Returns the full raw data, including headers. /// Returns the full raw data, including headers.
#[inline] #[inline]
pub fn raw(&self) -> &[u8] { pub fn raw(&self) -> &[u8] {
&self.buf self.buf
} }
} }