From 30927f15b76e68ae9f08c463041f77b72c37095e Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 10 May 2014 17:00:39 -0700 Subject: [PATCH] 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 --- src/librustdoc/html/static/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js index 9243f72dab7e9..d7101087ac46c 100644 --- a/src/librustdoc/html/static/main.js +++ b/src/librustdoc/html/static/main.js @@ -514,9 +514,9 @@ // `rustdoc::html::item_type::ItemType` type in Rust. var itemTypes = ["mod", "struct", - "enum", + "type", "fn", - "typedef", + "type", "static", "trait", "impl",