Selaa lähdekoodia

Remove some unused imports

Isaac Woods 4 vuotta sitten
vanhempi
commit
07dda63b48
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      aml/src/type2.rs
  2. 1 1
      aml/src/value.rs

+ 1 - 1
aml/src/type2.rs

@@ -16,7 +16,7 @@ use crate::{
     value::AmlValue,
     AmlError,
 };
-use alloc::{boxed::Box, vec::Vec};
+use alloc::vec::Vec;
 
 /// Type 2 opcodes return a value and so can be used in expressions.
 pub fn type2_opcode<'a, 'c>() -> impl Parser<'a, 'c, AmlValue>

+ 1 - 1
aml/src/value.rs

@@ -1,5 +1,5 @@
 use crate::{misc::ArgNum, namespace::AmlName, AmlError};
-use alloc::{boxed::Box, string::String, vec::Vec};
+use alloc::{string::String, vec::Vec};
 use bit_field::BitField;
 
 #[derive(Clone, Copy, PartialEq, Eq, Debug)]