Procházet zdrojové kódy

Fixing feature flag

Ryan Summers před 3 roky
rodič
revize
c0235f1548
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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))]
+    #[cfg(feature = "socket-udp")]
     pub(crate) fn reset(&mut self) {
         self.payload_ring.clear();
         self.metadata_ring.clear();