Преглед изворни кода

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)]