Skip to content

Commit 2f0249b

Browse files
committed
Highlight trait methods in rustdoc’s search results
1 parent c8d6e3b commit 2f0249b

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
@@ -234,6 +234,7 @@ nav.sub {
234234
.content .highlighted.struct { background-color: #e7b1a0; }
235235
.content .highlighted.fn { background-color: #c6afb3; }
236236
.content .highlighted.method { background-color: #c6afb3; }
237+
.content .highlighted.tymethod { background-color: #c6afb3; }
237238
.content .highlighted.ffi { background-color: #c6afb3; }
238239

239240
.docblock.short.nowrap {
@@ -348,6 +349,7 @@ p a:hover { text-decoration: underline; }
348349
.content span.struct, .content a.struct, .block a.current.struct { color: #e53700; }
349350
.content span.fn, .content a.fn, .block a.current.fn { color: #8c6067; }
350351
.content span.method, .content a.method, .block a.current.method { color: #8c6067; }
352+
.content span.tymethod, .content a.tymethod, .block a.current.tymethod { color: #8c6067; }
351353
.content span.ffi, .content a.ffi, .block a.current.ffi { color: #8c6067; }
352354
.content .fnname { color: #8c6067; }
353355

0 commit comments

Comments
 (0)