Clarify const_let comment
This commit is contained in:
parent
4b4fc63eb7
commit
a49acea80d
1 changed files with 3 additions and 1 deletions
|
|
@ -685,7 +685,9 @@ declare_features! (
|
|||
(accepted, min_const_unsafe_fn, "1.33.0", Some(55607), None),
|
||||
// `#[cfg_attr(predicate, multiple, attributes, here)]`
|
||||
(accepted, cfg_attr_multi, "1.33.0", Some(54881), None),
|
||||
// Allows let bindings and destructuring in `const` functions and constants.
|
||||
// Allows let bindings, assignments and destructuring in `const` functions and constants.
|
||||
// As long as control flow is not implemented in const eval, `&&` and `||` may not be used
|
||||
// at the same time as let bindings.
|
||||
(accepted, const_let, "1.33.0", Some(48821), None),
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue