Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
Dibyendu Majumdar committed Jul 5, 2015
1 parent b65e5d2 commit 1090ac6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ Ravi allows you to annotate ``local`` variables with static types. The supported
``number[]``
denotes an array of numbers

Declaring the types of ``local`` variables has following advantages.
.. attention:: Currently function parameters cannot be decorated with types; this will be added in future.

.. attention:: Currently function parameters cannot be decorated with types; this will be added in future.
Declaring the types of ``local`` variables has following advantages.

* Local variables declared with above types are automatically initialized to 0
* Arithmetic operations trigger type specific bytecodes which leads to more efficient JIT compilation
Expand Down
4 changes: 2 additions & 2 deletions readthedocs/ravi-overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ Ravi allows you to annotate ``local`` variables with static types. The supported
``number[]``
denotes an array of numbers

Declaring the types of ``local`` variables has following advantages.
.. attention:: Currently function parameters cannot be decorated with types; this will be added in future.

.. attention:: Currently function parameters cannot be decorated with types; this will be added in future.
Declaring the types of ``local`` variables has following advantages.

* Local variables declared with above types are automatically initialized to 0
* Arithmetic operations trigger type specific bytecodes which leads to more efficient JIT compilation
Expand Down

0 comments on commit 1090ac6

Please sign in to comment.