Skip to content

Commit 30927f1

Browse files
committed
rustdoc: Fix search links to enums/typedefs
When the values in html::item_type were updated, the JS definitions were accidentally not updated as well. Closes #14095
1 parent 11571cd commit 30927f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/html/static/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,9 +514,9 @@
514514
// `rustdoc::html::item_type::ItemType` type in Rust.
515515
var itemTypes = ["mod",
516516
"struct",
517-
"enum",
517+
"type",
518518
"fn",
519-
"typedef",
519+
"type",
520520
"static",
521521
"trait",
522522
"impl",

0 commit comments

Comments
 (0)