diff --git a/src/storage/packet_buffer.rs b/src/storage/packet_buffer.rs index 5672eab..b35d0ab 100644 --- a/src/storage/packet_buffer.rs +++ b/src/storage/packet_buffer.rs @@ -181,7 +181,7 @@ impl<'a, H> PacketBuffer<'a, H> { } /// Reset the packet buffer and clear any staged. - #[cfg(feature = "socket-udp")] + #[allow(unused)] pub(crate) fn reset(&mut self) { self.payload_ring.clear(); self.metadata_ring.clear();