Skip to content

Commit

Permalink
Fix the memory alignment docs style
Browse files Browse the repository at this point in the history
Co-authored-by: Kamil Śliwak <[email protected]>
  • Loading branch information
CodeSandwich and cameel committed Nov 29, 2024
1 parent 54ab3f5 commit 2ced05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/assembly.rst
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ starting from where this pointer points at and update it.
There is no guarantee that the memory has not been used before and thus
you cannot assume that its contents are zero bytes.
There is no built-in mechanism to release or free allocated memory.
Solidity doesn't guarantee and doesn't require that the values in memory
Solidity does not guarantee and does not require that the values in memory
are placed at positions aligned to a multiple of any value.
Here is an assembly snippet you can use for allocating memory that follows the process outlined above:

Expand Down

0 comments on commit 2ced05b

Please sign in to comment.