Skip to content

Commit 2e23111

Browse files
committed
docs: Fix docstring for dynamic memory allocator
The value in question is an index, not an address.
1 parent fb02a05 commit 2e23111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasm-lib/src/memory/dyn_malloc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use crate::traits::function::FunctionInitialState;
1616
/// See the [memory convention][super] for details.
1717
pub const DYN_MALLOC_ADDRESS: BFieldElement = BFieldElement::new(BFieldElement::MAX);
1818

19-
/// The address of the first page that can be dynamically allocated.
19+
/// The index of the first page that can be dynamically allocated.
2020
pub const DYN_MALLOC_FIRST_PAGE: u64 = 1;
2121

2222
/// The number of pages that can be dynamically allocated.

0 commit comments

Comments
 (0)