Restructuring to allow-unused
This commit is contained in:
parent
2fb5880628
commit
421870ee75
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue