1
Fork 0

add opt in attribute for stable-in-unstable items

This commit is contained in:
Jane Lusby 2022-05-09 15:18:53 -07:00 committed by Jane Losare-Lusby
parent a13f30036a
commit b55453dbad
15 changed files with 119 additions and 6 deletions

View file

@ -854,7 +854,7 @@ fn render_stability_since_raw(
}
let const_title_and_stability = match const_stability {
Some(ConstStability { level: StabilityLevel::Stable { since }, .. })
Some(ConstStability { level: StabilityLevel::Stable { since, .. }, .. })
if Some(since) != containing_const_ver =>
{
Some((format!("const since {}", since), format!("const: {}", since)))