File tree 1 file changed +28
-26
lines changed
src/librustdoc/html/static/js
1 file changed +28
-26
lines changed Original file line number Diff line number Diff line change 4
4
( function ( ) {
5
5
// This mapping table should match the discriminants of
6
6
// `rustdoc::html::item_type::ItemType` type in Rust.
7
- var itemTypes = [ "mod" ,
8
- "externcrate" ,
9
- "import" ,
10
- "struct" ,
11
- "enum" ,
12
- "fn" ,
13
- "type" ,
14
- "static" ,
15
- "trait" ,
16
- "impl" ,
17
- "tymethod" ,
18
- "method" ,
19
- "structfield" ,
20
- "variant" ,
21
- "macro" ,
22
- "primitive" ,
23
- "associatedtype" ,
24
- "constant" ,
25
- "associatedconstant" ,
26
- "union" ,
27
- "foreigntype" ,
28
- "keyword" ,
29
- "existential" ,
30
- "attr" ,
31
- "derive" ,
32
- "traitalias" ] ;
7
+ var itemTypes = [
8
+ "mod" ,
9
+ "externcrate" ,
10
+ "import" ,
11
+ "struct" ,
12
+ "enum" ,
13
+ "fn" ,
14
+ "type" ,
15
+ "static" ,
16
+ "trait" ,
17
+ "impl" ,
18
+ "tymethod" ,
19
+ "method" ,
20
+ "structfield" ,
21
+ "variant" ,
22
+ "macro" ,
23
+ "primitive" ,
24
+ "associatedtype" ,
25
+ "constant" ,
26
+ "associatedconstant" ,
27
+ "union" ,
28
+ "foreigntype" ,
29
+ "keyword" ,
30
+ "existential" ,
31
+ "attr" ,
32
+ "derive" ,
33
+ "traitalias" ,
34
+ ] ;
33
35
34
36
// used for special search precedence
35
37
var TY_PRIMITIVE = itemTypes . indexOf ( "primitive" ) ;
You can’t perform that action at this time.
0 commit comments