From fd9d74ca0059097f6b6be585cba637fce277b4ab Mon Sep 17 00:00:00 2001 From: AnthonyMikh Date: Fri, 20 May 2022 03:53:33 +0300 Subject: [PATCH] Reflect changes about unsizing casts in const context Since Rust 1.61.0 it is possible to do unsizing casts in const context --- src/const_eval.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/const_eval.md b/src/const_eval.md index b46e94e12..c0560376c 100644 --- a/src/const_eval.md +++ b/src/const_eval.md @@ -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.