Skip to content

Commit f82fb30

Browse files
committed
Update comment regarding staged_api
1 parent 0d69a02 commit f82fb30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/format.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ crate fn print_constness_with_space(
12771277
s: Option<&ConstStability>,
12781278
) -> &'static str {
12791279
match (c, s) {
1280-
// const stable or no stability attribute
1280+
// const stable or when feature(staged_api) is not set
12811281
(
12821282
hir::Constness::Const,
12831283
Some(ConstStability { level: StabilityLevel::Stable { .. }, .. }),

0 commit comments

Comments
 (0)