mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-10-30 19:49:36 +00:00 
			
		
		
		
	Merge pull request #19297 from Natural-selection1/master
Adjust relevance scoring threshold to consistent with existing implem…
This commit is contained in:
		
						commit
						1ea081fe40
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -350,7 +350,7 @@ impl CompletionRelevance { | |||
|     /// some threshold such that we think it is especially likely
 | ||||
|     /// to be relevant.
 | ||||
|     pub fn is_relevant(&self) -> bool { | ||||
|         self.score() > 0 | ||||
|         self.score() > (!0 / 2) | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lukas Wirth
						Lukas Wirth