Browse Source

Fix an unused import warning.

whitequark 7 years ago
parent
commit
01021e46ce
1 changed files with 2 additions and 1 deletions
  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};