Skip to content

Commit f46ccd6

Browse files
committed
---
yaml --- r: 20983 b: refs/heads/snap-stage3 c: 1ffaceb h: refs/heads/master i: 20981: 9fa8ccb 20979: df8206f 20975: 789e67e v: v3
1 parent b3ff3fc commit f46ccd6

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
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: e430a699f2c60890d9b86069fd0c68a70ece7120
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 4f98e80db1179d63395d2a4ccd432b5590d12d61
4+
refs/heads/snap-stage3: 1ffaceb3c842963ba41ce4259afaa20b3533dffc
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/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)