Skip to content

Commit 9abf975

Browse files
killercupOliver 'ker' Schneider
authored and
Oliver 'ker' Schneider
committed
Rustdoc Search: Add Hint to Primitive Type Result
Closes #25167
1 parent 5567eae commit 9abf975

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustdoc/html/static/main.css

+2
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)