Skip to content

Commit

Permalink
Merge pull request #1221 from AnthonyMikh/document-const-unsizing-casts
Browse files Browse the repository at this point in the history
Reflect changes about unsizing casts in const context
  • Loading branch information
ehuss committed May 27, 2022
2 parents b74825d + fd9d74c commit 683bfe5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/const_eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ to be run.
* The [dereference operator] except for raw pointers.
* [Grouped] expressions.
* [Cast] expressions, except
* pointer to address casts,
* function pointer to address casts, and
* unsizing casts to trait objects.
* pointer to address casts and
* function pointer to address casts.
* Calls of [const functions] and const methods.
* [loop], [while] and [`while let`] expressions.
* [if], [`if let`] and [match] expressions.
Expand Down

0 comments on commit 683bfe5

Please sign in to comment.