Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assignment operator expressions -> compound assignment expressions #759

Merged
merged 1 commit into from
Feb 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/const_eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ to be run.
are implemented, one cannot use both short circuiting operators (`&&` and `||`) and let
statements within the same constant.
* [assignment expressions]
* [assignment operator expressions]
* [compound assignment expressions]
* [expression statements]
* [Field] expressions.
* Index expressions, [array indexing] or [slice] with a `usize`.
Expand Down Expand Up @@ -63,7 +63,7 @@ A _const context_ is one of the following:
[array indexing]: expressions/array-expr.md#array-and-slice-indexing-expressions
[array type length expressions]: types/array.md
[assignment expressions]: expressions/operator-expr.md#assignment-expressions
[assignment operator expressions]: expressions/operator-expr.md#compound-assignment-expressions
[compound assignment expressions]: expressions/operator-expr.md#compound-assignment-expressions
[block expressions]: expressions/block-expr.md
[borrow]: expressions/operator-expr.md#borrow-operators
[cast]: expressions/operator-expr.md#type-cast-expressions
Expand Down