Clarify const_let comment

This commit is contained in:
Oliver Scherer 2018-12-30 18:57:31 +01:00
parent 4b4fc63eb7
commit a49acea80d

View File

@ -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),
);