Skip to content

Commit

Permalink
add parallel assignment syntax for Scala
Browse files Browse the repository at this point in the history
  • Loading branch information
acjay committed Mar 28, 2016
1 parent 165f45a commit 4c77ba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions markup/rust
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def n = 1 + 2||
||[[# assignment]][#assignment-note assignment]|| ||var i = 0 _
_
i = 3|| ||
||[[# parallel-assignment]][#parallel-assignment-note parallel assignment]|| ||var (m, n) = (3, 7)|| ||
||[[# parallel-assignment]][#parallel-assignment-note parallel assignment]|| ||var (m, n) = (3, 7)|| val (m, n) = (3, 7) ||
||[[# swap]][#swap-note swap]|| ||(x, y) = (y, x)|| ||
||[[# compound-assignment]][#compound-assignment-note compound assignment]|| ||##gray|//arithmetic://## _
+= -= *= /= %= _
Expand Down Expand Up @@ -1927,4 +1927,4 @@ As of June 2014, to use Swift one must download and install a beta version of Xc
$ sudo xcode-select -s /Applications/Xcode6-Beta.app/Contents/Developer/

$ xcrun swift
[[/code]]
[[/code]]

0 comments on commit 4c77ba6

Please sign in to comment.