1
Fork 0

Update comment regarding staged_api

This commit is contained in:
Deadbeef 2021-06-21 20:21:37 +08:00
parent 0d69a02c31
commit f82fb308af
No known key found for this signature in database
GPG key ID: 6525773485376D92

View file

@ -1277,7 +1277,7 @@ crate fn print_constness_with_space(
s: Option<&ConstStability>,
) -> &'static str {
match (c, s) {
// const stable or no stability attribute
// const stable or when feature(staged_api) is not set
(
hir::Constness::Const,
Some(ConstStability { level: StabilityLevel::Stable { .. }, .. }),