Explorar o código

Remove some unused imports

Isaac Woods %!s(int64=5) %!d(string=hai) anos
pai
achega
07dda63b48
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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)]