about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2021-06-21 20:21:37 +0800
committerDeadbeef <ent3rm4n@gmail.com>2021-06-21 20:21:37 +0800
commitf82fb308af00567f80d0cbb23361a7fa8327d5df (patch)
treef974f59f1a8cbc1b02e996a6b296cc51927ac267 /src
parent0d69a02c31f781568ce11c877b2add7b5deea1b9 (diff)
downloadrust-f82fb308af00567f80d0cbb23361a7fa8327d5df.tar.gz
rust-f82fb308af00567f80d0cbb23361a7fa8327d5df.zip
Update comment regarding staged_api
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/format.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/format.rs b/src/librustdoc/html/format.rs
index 11d40d9898c..58c609cf252 100644
--- a/src/librustdoc/html/format.rs
+++ b/src/librustdoc/html/format.rs
@@ -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 { .. }, .. }),