This repository was archived by the owner on May 28, 2025. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 1 file changed +28
-26
lines changed 
src/librustdoc/html/static/js Expand file tree Collapse file tree 1 file changed +28
-26
lines changed Original file line number Diff line number Diff line change 44( function ( )  { 
55// This mapping table should match the discriminants of 
66// `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+ ] ; 
3335
3436// used for special search precedence 
3537var  TY_PRIMITIVE  =  itemTypes . indexOf ( "primitive" ) ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments