Skip to content

Commit

Permalink
Changed erroneous @ to a comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoblenz committed Dec 6, 2019
1 parent 1d8dd96 commit 1366dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solidity_user_guide/source/tutorial/states3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ When unowned references are used in dynamic state tests, the body of the test do

::

transaction foo(LightSwitch@unowned s) {
transaction foo(LightSwitch s) { // s is unowned
if (s in On) {
s.turnOff(); // STILL can't change state of s through an unowned reference
}
Expand Down

0 comments on commit 1366dd6

Please sign in to comment.