Browse Source

Update to track changes in liballoc.

whitequark 6 years ago
parent
commit
7b08b65716
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/phy/loopback.rs

+ 3 - 1
src/phy/loopback.rs

@@ -3,7 +3,9 @@ use std::vec::Vec;
 #[cfg(feature = "std")]
 use std::collections::VecDeque;
 #[cfg(feature = "alloc")]
-use alloc::{Vec, VecDeque};
+use alloc::vec::Vec;
+#[cfg(feature = "alloc")]
+use alloc::collections::VecDeque;
 
 use Result;
 use phy::{self, Device, DeviceCapabilities};