Explorar o código

Restructuring to allow-unused

Ryan Summers %!s(int64=4) %!d(string=hai) anos
pai
achega
02d565a3a3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/storage/packet_buffer.rs

+ 1 - 1
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();