Skip to content

Commit 07b1994

Browse files
committed
Rustdoc Search: Add Hint to Primitive Type Result
1 parent 94b6ddc commit 07b1994

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustdoc/html/static/main.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,8 @@ a {
443443
.content .search-results td:first-child { padding-right: 0; }
444444
.content .search-results td:first-child a { padding-right: 10px; }
445445

446+
tr.result span.primitive::after { content: ' (primitive type)'; font-style: italic; }
447+
446448
#help {
447449
background: #e9e9e9;
448450
border-radius: 4px;

0 commit comments

Comments
 (0)