mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-11-04 05:35:55 +00:00 
			
		
		
		
	clippy: Enable non_canonical_partial_ord_impl rule
				
					
				
			This commit is contained in:
		
							parent
							
								
									2601d19bac
								
							
						
					
					
						commit
						1e4171bc6e
					
				
					 2 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -172,7 +172,6 @@ borrowed_box = "allow"
 | 
				
			||||||
derived_hash_with_manual_eq = "allow"
 | 
					derived_hash_with_manual_eq = "allow"
 | 
				
			||||||
forget_non_drop = "allow"
 | 
					forget_non_drop = "allow"
 | 
				
			||||||
needless_doctest_main = "allow"
 | 
					needless_doctest_main = "allow"
 | 
				
			||||||
non_canonical_partial_ord_impl = "allow"
 | 
					 | 
				
			||||||
too_many_arguments = "allow"
 | 
					too_many_arguments = "allow"
 | 
				
			||||||
type_complexity = "allow"
 | 
					type_complexity = "allow"
 | 
				
			||||||
wrong_self_convention = "allow"
 | 
					wrong_self_convention = "allow"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -70,7 +70,7 @@ impl<T> Ord for Idx<T> {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
impl<T> PartialOrd for Idx<T> {
 | 
					impl<T> PartialOrd for Idx<T> {
 | 
				
			||||||
    fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> {
 | 
					    fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> {
 | 
				
			||||||
        self.raw.partial_cmp(&other.raw)
 | 
					        Some(self.cmp(other))
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue