소스 검색

Restructuring to allow-unused

Ryan Summers 4 년 전
부모
커밋
02d565a3a3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();