about summary refs log tree commit diff
path: root/src/test/rustdoc/issue-41783.codeblock.html
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-11-01 22:01:37 +0530
committerGitHub <noreply@github.com>2022-11-01 22:01:37 +0530
commit2b0ead31261e36185b1b41847f717be7641348fc (patch)
tree8679b4e9868bc050c33f9fa486af043ccb810405 /src/test/rustdoc/issue-41783.codeblock.html
parentdb200d01cd52915121e835636c300e1140b7e005 (diff)
parent6432bb71b63bc9e929aff8f93b5c55fe25d4b1d8 (diff)
downloadrust-2b0ead31261e36185b1b41847f717be7641348fc.tar.gz
rust-2b0ead31261e36185b1b41847f717be7641348fc.zip
Rollup merge of #103817 - notriddle:notriddle/attribute-css, r=GuillaumeGomez
rustdoc: rename syntax highlighting CSS class `attribute` to `attr`

Link classes use the abbreviation `attr` ...

https://github.com/rust-lang/rust/blob/2afca78a0b03db144c5d8b9f8868feebfe096309/src/librustdoc/html/static/css/rustdoc.css#L255-L259

... so why does syntax highlighting use the full word?

https://github.com/rust-lang/rust/blob/2afca78a0b03db144c5d8b9f8868feebfe096309/src/librustdoc/html/static/css/rustdoc.css#L1095-L1097
Diffstat (limited to 'src/test/rustdoc/issue-41783.codeblock.html')
-rw-r--r--src/test/rustdoc/issue-41783.codeblock.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/issue-41783.codeblock.html b/src/test/rustdoc/issue-41783.codeblock.html
index 89987491d1b..3bca4536cd5 100644
--- a/src/test/rustdoc/issue-41783.codeblock.html
+++ b/src/test/rustdoc/issue-41783.codeblock.html
@@ -1,5 +1,5 @@
 <code># single
 ## double
 ### triple
-<span class="attribute">#[outer]
+<span class="attr">#[outer]
 #![inner]</span></code>