mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	 e600c0ba0e
			
		
	
	
		e600c0ba0e
		
	
	
	
	
		
			
			This makes sense, since the search index has the information in it, and it's more useful for function signature searches since a function signature search's item type is, by definition, some type of function (there's more than one, but not very many).
		
			
				
	
	
		
			28 lines
		
	
	
		
			600 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			600 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| const QUERY = ['R<P>'];
 | |
| 
 | |
| const PARSED = [
 | |
|     {
 | |
|         elems: [{
 | |
|             name: "r",
 | |
|             fullPath: ["r"],
 | |
|             pathWithoutLast: [],
 | |
|             pathLast: "r",
 | |
|             generics: [
 | |
|                 {
 | |
|                     name: "p",
 | |
|                     fullPath: ["p"],
 | |
|                     pathWithoutLast: [],
 | |
|                     pathLast: "p",
 | |
|                     generics: [],
 | |
|                 },
 | |
|             ],
 | |
|             typeFilter: -1,
 | |
|         }],
 | |
|         foundElems: 1,
 | |
|         original: "R<P>",
 | |
|         returned: [],
 | |
|         userQuery: "r<p>",
 | |
|         error: null,
 | |
|     }
 | |
| ];
 |