mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	 5451fe7d7c
			
		
	
	
		5451fe7d7c
		
	
	
	
	
		
			
			This tweak to the function signature search engine makes things so that, if a type is repeated in the search query, it'll only match if the function actually includes it that many times.
		
			
				
	
	
		
			5 lines
		
	
	
		
			74 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			74 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| pub struct P;
 | |
| 
 | |
| pub fn abracadabra(a: P, b: P) {}
 | |
| pub fn alacazam(a: P) {}
 |