Skip to content

Commit 8174ebf

Browse files
Adjust docs
1 parent 3cb6335 commit 8174ebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/contracts/custom-storage-layout.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ As the above example shows, the specifier uses the ``layout at <base-slot-expres
2323
and is located in the header of a contract definition.
2424

2525
The layout specifier can be placed either before or after the inheritance specifier, and can appear at most once.
26-
The ``base-slot-expression`` must be an :ref:`integer literal<rational_literals>` expression
26+
The ``base-slot-expression`` must be an :ref:`integer literal<rational_literals>` expression or a constant
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".

0 commit comments

Comments
 (0)