Restructuring to allow-unused

This commit is contained in:
Ryan Summers 2021-06-09 11:30:02 +02:00
parent 2fb5880628
commit 421870ee75
1 changed files with 1 additions and 1 deletions

View File

@ -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();