Change const trait bound syntax from ~const to [const]
This commit is contained in:
@@ -437,7 +437,7 @@ declare_features! (
|
||||
(unstable, const_async_blocks, "1.53.0", Some(85368)),
|
||||
/// Allows `const || {}` closures in const contexts.
|
||||
(incomplete, const_closures, "1.68.0", Some(106003)),
|
||||
/// Allows using `~const Destruct` bounds and calling drop impls in const contexts.
|
||||
/// Allows using `[const] Destruct` bounds and calling drop impls in const contexts.
|
||||
(unstable, const_destruct, "1.85.0", Some(133214)),
|
||||
/// Allows `for _ in _` loops in const contexts.
|
||||
(unstable, const_for, "1.56.0", Some(87575)),
|
||||
|
||||
Reference in New Issue
Block a user