Ver Fonte

Fix an unused import warning.

whitequark há 7 anos atrás
pai
commit
01021e46ce
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      src/phy/pcap_writer.rs

+ 2 - 1
src/phy/pcap_writer.rs

@@ -1,4 +1,5 @@
-use core::cell::RefCell;
+#[cfg(feature = "std")]
+use std::cell::RefCell;
 #[cfg(feature = "std")]
 use std::io::Write;
 use byteorder::{ByteOrder, NativeEndian};