Skip to content

Commit 61caf6e

Browse files
authored
Fix(docs) incorrect wording in comment annotations (#8990)
1 parent dcc5e63 commit 61caf6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/cairo-lang-sierra-to-casm/src/environment/frame_state.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ pub enum FrameState {
2222
/// Before any locals were allocated (`alloc_local` wasn't called).
2323
BeforeAllocation,
2424
/// `finalize_locals` wasn't called yet.
25-
/// `allocated` is the number of stack slot that were already allocated for local variables.
26-
/// `locals_start_ap_offset` is the ap change between the first `alloc_local` and the beginning
27-
/// of the function. It is used to validate that there were no ap changes between the
25+
/// `allocated` is the number of stack slots that were already allocated for local variables.
26+
/// `locals_start_ap_offset` is the AP change between the first `alloc_local` and the beginning
27+
/// of the function. It is used to validate that there were no AP changes between the
2828
/// allocations and the call to `handle_finalize_locals`.
2929
Allocating { allocated: usize, locals_start_ap_offset: usize },
3030
/// finalize_locals was called and the frame has been finalized.

0 commit comments

Comments
 (0)