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

[runtime/vm_runtime] comment copy_to_memory

ertosns пре 2 година
родитељ
комит
c83ad39e2b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/runtime/vm_runtime.rs

+ 1 - 1
src/runtime/vm_runtime.rs

@@ -555,7 +555,7 @@ impl Runtime {
 
     /// Copy payload to the start of the memory
     fn copy_to_memory(&self, payload: &[u8]) -> Result<()> {
-        // TODO: Maybe should write to first zero memory and return the pointer/offset?
+        // Payload is copied to index 0.
         // Get the memory view
         let env = self.ctx.as_ref(&self.store);
         let memory_view = env.memory_view(&self.store);