Skip to content

Commit 7445a48

Browse files
victorknoxvictorknox
authored andcommitted
Moved Keywords section from 'Cheatsheet' to 'Units and Globally Available Variables'
1 parent 3ed9a38 commit 7445a48

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

docs/cheatsheet.rst

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,3 @@ Modifiers
112112
- ``override``: States that this function, modifier or public state variable changes
113113
the behaviour of a function or modifier in a base contract.
114114

115-
Reserved Keywords
116-
=================
117-
118-
These keywords are reserved in Solidity. They might become part of the syntax in the future:
119-
120-
``after``, ``alias``, ``apply``, ``auto``, ``byte``, ``case``, ``copyof``, ``default``,
121-
``define``, ``final``, ``implements``, ``in``, ``inline``, ``let``, ``macro``, ``match``,
122-
``mutable``, ``null``, ``of``, ``partial``, ``promise``, ``reference``, ``relocatable``,
123-
``sealed``, ``sizeof``, ``static``, ``supports``, ``switch``, ``typedef``, ``typeof``,
124-
``var``.

docs/units-and-global-variables.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,3 +384,14 @@ The following properties are available for an integer type ``T``:
384384

385385
``type(T).max``
386386
The largest value representable by type ``T``.
387+
388+
Reserved Keywords
389+
=================
390+
391+
These keywords are reserved in Solidity. They might become part of the syntax in the future:
392+
393+
``after``, ``alias``, ``apply``, ``auto``, ``byte``, ``case``, ``copyof``, ``default``,
394+
``define``, ``final``, ``implements``, ``in``, ``inline``, ``let``, ``macro``, ``match``,
395+
``mutable``, ``null``, ``of``, ``partial``, ``promise``, ``reference``, ``relocatable``,
396+
``sealed``, ``sizeof``, ``static``, ``supports``, ``switch``, ``typedef``, ``typeof``,
397+
``var``.

0 commit comments

Comments
 (0)