From c86f1129fa422048901394bae7f3417717229c16 Mon Sep 17 00:00:00 2001 From: Adam Welc Date: Fri, 27 Dec 2024 09:07:10 +0100 Subject: [PATCH] Finessed a comment --- .../trace-adapter/tests/global_write/sources/m.move | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/external-crates/move/crates/move-analyzer/trace-adapter/tests/global_write/sources/m.move b/external-crates/move/crates/move-analyzer/trace-adapter/tests/global_write/sources/m.move index d76d07984738d..abf3cb9f805dd 100644 --- a/external-crates/move/crates/move-analyzer/trace-adapter/tests/global_write/sources/m.move +++ b/external-crates/move/crates/move-analyzer/trace-adapter/tests/global_write/sources/m.move @@ -9,9 +9,9 @@ fun test() { let ctx = &mut tx_context::dummy(); let mut table = linked_table::new(ctx); table.push_back(7, 42); - // linked table contains the following line which (interestingly) uses global location - // for the write of `next` but only if we call the `push_back` function twice (otherwise - // it looks like it creates a temporary local variable for this assignment) + // linked table contains the following line of code which uses global location + // for the write of `next` (we need to call `push_back` twice to actually exercise + // this line of code): // // field::borrow_mut>(&mut table.id, old_tail_k).next = option::some(k); table.push_back(42, 7);