Skip to content

Commit 74ded88

Browse files
committed
Update comments
1 parent 9843af2 commit 74ded88

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/aranya-policy-vm/src/machine.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ pub struct RunState<'a, M: MachineIO<MachineStack>> {
297297
pc: usize,
298298
/// I/O callbacks
299299
io: &'a RefCell<M>,
300-
/// Execution Contexts (actually used for more than Commands)
300+
/// Execution Context (actually used for more than Commands)
301301
ctx: CommandContext<'a>,
302302
// Cursors for `QueryStart` results
303303
query_iter_stack: Vec<M::QueryIterator>,
@@ -825,7 +825,6 @@ where
825825
}
826826
Instruction::Serialize => {
827827
let command_struct: Struct = self.ipop()?;
828-
// NOTE: we don't pop the context; it needs to remain on the stack for the seal FFI call.
829828
let CommandContext::Seal(SealContext { name, .. }) = self.ctx else {
830829
return Err(self.err(MachineErrorType::BadState("Serialize: no seal context")));
831830
};

0 commit comments

Comments
 (0)