diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 6d581108836..9c5e3e8bfb2 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -780,12 +780,12 @@ a { float: left; } -tr.result span.primitive::after { +.result-name span.primitive::after { content: ' (primitive type)'; font-style: italic; } -tr.result span.keyword::after { +.result-name span.keyword::after { content: ' (keyword)'; font-style: italic; }