Skip to content

Commit

Permalink
Add NatSpec for public state variables
Browse files Browse the repository at this point in the history
  • Loading branch information
fulldecent authored and aarlt committed May 19, 2020
1 parent 8a65407 commit 3e8b9bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/natspec-format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ Documentation Example
Documentation is inserted above each ``class``, ``interface`` and
``function`` using the doxygen notation format.

Note: a ``public`` state variable is equivalent to a ``function``
for the purposes of NatSpec.

- For Solidity you may choose ``///`` for single or multi-line
comments, or ``/**`` and ending with ``*/``.

Expand Down

0 comments on commit 3e8b9bd

Please sign in to comment.