mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-10-30 19:49:36 +00:00 
			
		
		
		
	refactor: Reduce codegen burden for SyntaxNode and SyntaxToken
				
					
				
			This commit is contained in:
		
							parent
							
								
									d6dc1bf05e
								
							
						
					
					
						commit
						d31301cbe7
					
				
					 4 changed files with 2767 additions and 426 deletions
				
			
		|  | @ -1008,7 +1008,7 @@ impl ::core::cmp::Eq for SyntaxKind {} | |||
| impl ::core::cmp::PartialOrd for SyntaxKind { | ||||
|     #[inline] | ||||
|     fn partial_cmp(&self, other: &Self) -> core::option::Option<core::cmp::Ordering> { | ||||
|         (*self as u16).partial_cmp(&(*other as u16)) | ||||
|         Some(self.cmp(other)) | ||||
|     } | ||||
| } | ||||
| impl ::core::cmp::Ord for SyntaxKind { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lukas Wirth
						Lukas Wirth