Fixing feature flag

This commit is contained in:
Ryan Summers 2021-06-09 11:13:56 +02:00
parent 84866f8f69
commit 2fb5880628
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))]
#[cfg(feature = "socket-udp")]
pub(crate) fn reset(&mut self) {
self.payload_ring.clear();
self.metadata_ring.clear();