Skip to content

Commit 7316d22

Browse files
authored
Rollup merge of rust-lang#35452 - ubsan:precedence, r=steveklabnik
Finish fixing the operator precedence tables Add the unstable `:` colon and `<-` inplace operators. r? @steveklabnik
2 parents 41b00f1 + 7c1bb9a commit 7316d22

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/reference.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3039,7 +3039,7 @@ The precedence of Rust binary operators is ordered as follows, going from
30393039
strong to weak:
30403040

30413041
```{.text .precedence}
3042-
as
3042+
as :
30433043
* / %
30443044
+ -
30453045
<< >>
@@ -3050,6 +3050,7 @@ as
30503050
&&
30513051
||
30523052
.. ...
3053+
<-
30533054
=
30543055
```
30553056

0 commit comments

Comments
 (0)