瀏覽代碼

Remove some unused imports

Isaac Woods 4 年之前
父節點
當前提交
07dda63b48
共有 2 個文件被更改,包括 2 次插入2 次删除
  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)]