Skip to content

Commit 378bec1

Browse files
committed
true color, fixed boolval style in doc
1 parent 9f58fb7 commit 378bec1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustdoc/html/highlight.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ impl Class {
337337
Class::MacroNonTerminal => "macro-nonterminal",
338338
Class::String => "string",
339339
Class::Number => "number",
340-
Class::Bool => "boolvalue",
340+
Class::Bool => "bool-val",
341341
Class::Ident => "ident",
342342
Class::Lifetime => "lifetime",
343343
Class::PreludeTy => "prelude-ty",

src/librustdoc/html/static/rustdoc.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ td.summary-column {
550550
pre.rust .kw { color: #8959A8; }
551551
pre.rust .kw-2, pre.rust .prelude-ty { color: #4271AE; }
552552
pre.rust .number, pre.rust .string { color: #718C00; }
553-
pre.rust .self, pre.rust .boolval, pre.rust .prelude-val,
553+
pre.rust .self, pre.rust .bool-val, pre.rust .prelude-val,
554554
pre.rust .attribute, pre.rust .attribute .ident { color: #C82829; }
555555
pre.rust .macro, pre.rust .macro-nonterminal { color: #3E999F; }
556556
pre.rust .lifetime { color: #B76514; }

0 commit comments

Comments
 (0)