Ver código fonte

Leave note about Packages also probably needing to be Arced

Isaac Woods 3 anos atrás
pai
commit
1eedc2a931
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      aml/src/value.rs

+ 1 - 0
aml/src/value.rs

@@ -213,6 +213,7 @@ pub enum AmlValue {
     Mutex {
         sync_level: u8,
     },
+    // TODO: I think this will need to be `Arc`ed as well, as `Index` can be used on both Buffers and Packages
     Package(Vec<AmlValue>),
     PowerResource {
         system_level: u8,