Skip to content

Commit

Permalink
Reflect changes about unsizing casts in const context
Browse files Browse the repository at this point in the history
Since Rust 1.61.0 it is possible to do unsizing casts in const context
  • Loading branch information
AnthonyMikh authored May 20, 2022
1 parent 2995104 commit fd9d74c
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 fd9d74c

Please sign in to comment.