Skip to content

Commit

Permalink
Merge pull request clarkgrubb#52 from acjay/patch-1
Browse files Browse the repository at this point in the history
add parallel assignment syntax for Scala
  • Loading branch information
clarkgrubb committed Mar 29, 2016
2 parents cd02f14 + 4c77ba6 commit 9654ed4
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 9654ed4

Please sign in to comment.