Skip to content

Commit de966a7

Browse files
committed
fixup! Storage layout specifier docs
1 parent e633eb4 commit de966a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/contracts/custom-storage-layout.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ The ``base-slot-expression`` must be an :ref:`integer literal<rational_literals>
2727
that can be evaluated at compilation time and yields a value in the range of ``uint256``.
2828

2929
A custom layout cannot make contract's storage "wrap around".
30-
If the selected base slot would push the statically-sized variables past the end of storage,
30+
If the selected base slot would push the static variables past the end of storage,
3131
the compiler will issue an error.
32-
Note that the data areas of dynamically-sized variables are not affected by this check because
32+
Note that the data areas of dynamic arrays and mappings are not affected by this check because
3333
their layout is not linear.
3434
Regardless of the base slot used, their locations are calculated in a way that always puts them
3535
within the range of ``uint256`` and their sizes are not known at compilation time.

0 commit comments

Comments
 (0)