Skip to content

Commit

Permalink
Update comment regarding staged_api
Browse files Browse the repository at this point in the history
  • Loading branch information
fee1-dead committed Jun 21, 2021
1 parent 0d69a02 commit f82fb30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 { .. }, .. }),
Expand Down

0 comments on commit f82fb30

Please sign in to comment.