From 444afdd35d2e519dc425a64368550a5a15aa4af4 Mon Sep 17 00:00:00 2001 From: Scott Lamb Date: Wed, 11 May 2022 13:22:45 -0700 Subject: [PATCH] fix clippy error --- src/rtcp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtcp.rs b/src/rtcp.rs index ab9ab82..f13339d 100644 --- a/src/rtcp.rs +++ b/src/rtcp.rs @@ -333,7 +333,7 @@ impl<'a> PacketRef<'a> { /// Returns the full raw data, including headers. #[inline] pub fn raw(&self) -> &[u8] { - &self.buf + self.buf } }