Skip to content

Commit 20fddac

Browse files
committed
---
yaml --- r: 27669 b: refs/heads/try c: 1ffaceb h: refs/heads/master i: 27667: 17a8926 v: v3
1 parent a7ccd4c commit 20fddac

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5-
refs/heads/try: 4f98e80db1179d63395d2a4ccd432b5590d12d61
5+
refs/heads/try: 1ffaceb3c842963ba41ce4259afaa20b3533dffc
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df

branches/try/doc/rust.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,13 +1927,15 @@ x <- copy y;
19271927

19281928
The former is just more terse and familiar.
19291929

1930-
#### Operator-assignment expressions
1930+
#### Compound assignment expressions
19311931

19321932
The `+`, `-`, `*`, `/`, `%`, `&`, `|`, `^`, `<<`, `>>`, and `>>>`
19331933
operators may be composed with the `=` operator. The expression `lval
19341934
OP= val` is equivalent to `lval = lval OP val`. For example, `x = x +
19351935
1` may be written as `x += 1`.
19361936

1937+
Any such expression always has the [`nil`](#primitive-types) type.
1938+
19371939
#### Operator precedence
19381940

19391941
The precedence of Rust binary operators is ordered as follows, going

0 commit comments

Comments
 (0)