Skip to content

Commit c4fca72

Browse files
committed
Abbreviate long typenames so they don't get wrapped in results
1 parent a8fa961 commit c4fca72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/html/static/js/search.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ const longItemTypes = [
5252
"enum variant",
5353
"macro",
5454
"primitive type",
55-
"associated type",
55+
"assoc type",
5656
"constant",
57-
"associated constant",
57+
"assoc const",
5858
"union",
5959
"foreign type",
6060
"keyword",

0 commit comments

Comments
 (0)