mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			652 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			652 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| const EXPECTED = [
 | |
|     {
 | |
|         query: 'hashset::insert',
 | |
|         others: [
 | |
|             // ensure hashset::insert comes first
 | |
|             { 'path': 'std::collections::HashSet', 'name': 'insert' },
 | |
|             { 'path': 'std::collections::HashSet', 'name': 'get_or_insert' },
 | |
|             { 'path': 'std::collections::HashSet', 'name': 'get_or_insert_with' },
 | |
|         ],
 | |
|     },
 | |
|     {
 | |
|         query: 'hash::insert',
 | |
|         others: [
 | |
|             // ensure hashset/hashmap::insert come first
 | |
|             { 'path': 'std::collections::HashMap', 'name': 'insert' },
 | |
|             { 'path': 'std::collections::HashSet', 'name': 'insert' },
 | |
|         ],
 | |
|     },
 | |
| ];
 | 
