]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/html/highlight.rs
Auto merge of #104170 - cjgillot:hir-def-id, r=fee1-dead
[rust.git] / src / librustdoc / html / highlight.rs
index 28136cc48d658f06ac0e803d785ef3cbfd1183dc..cd8c8c463b1ab60bafcaf15168de9dc1d6003362 100644 (file)
@@ -362,7 +362,7 @@ fn as_html(self) -> &'static str {
         match self {
             Class::Comment => "comment",
             Class::DocComment => "doccomment",
-            Class::Attribute => "attribute",
+            Class::Attribute => "attr",
             Class::KeyWord => "kw",
             Class::RefKeyWord => "kw-2",
             Class::Self_(_) => "self",