1
Fork 0

Fix indent of itemTypes in search.js

This commit is contained in:
Guillaume Gomez 2021-12-08 17:31:56 +01:00
parent 87dce6e8df
commit edd881474b

View file

@ -4,7 +4,8 @@
(function() {
// This mapping table should match the discriminants of
// `rustdoc::html::item_type::ItemType` type in Rust.
var itemTypes = ["mod",
var itemTypes = [
"mod",
"externcrate",
"import",
"struct",
@ -29,7 +30,8 @@ var itemTypes = ["mod",
"existential",
"attr",
"derive",
"traitalias"];
"traitalias",
];
// used for special search precedence
var TY_PRIMITIVE = itemTypes.indexOf("primitive");