Skip to content

Commit fd9d74c

Browse files
authored
Reflect changes about unsizing casts in const context
Since Rust 1.61.0 it is possible to do unsizing casts in const context
1 parent 2995104 commit fd9d74c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/const_eval.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ to be run.
4242
* The [dereference operator] except for raw pointers.
4343
* [Grouped] expressions.
4444
* [Cast] expressions, except
45-
* pointer to address casts,
46-
* function pointer to address casts, and
47-
* unsizing casts to trait objects.
45+
* pointer to address casts and
46+
* function pointer to address casts.
4847
* Calls of [const functions] and const methods.
4948
* [loop], [while] and [`while let`] expressions.
5049
* [if], [`if let`] and [match] expressions.

0 commit comments

Comments
 (0)