Clippify it all
This commit is contained in:
		
							parent
							
								
									7654de7497
								
							
						
					
					
						commit
						3832402b68
					
				@ -175,7 +175,7 @@ pub enum UnOp {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
impl UnOp {
 | 
					impl UnOp {
 | 
				
			||||||
	pub fn is_compare(&self) -> bool {
 | 
						pub fn is_compare(self) -> bool {
 | 
				
			||||||
		matches!(self, Self::Eqz_I32 | Self::Eqz_I64)
 | 
							matches!(self, Self::Eqz_I32 | Self::Eqz_I64)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -368,7 +368,7 @@ pub enum BinOp {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
impl BinOp {
 | 
					impl BinOp {
 | 
				
			||||||
	pub fn is_compare(&self) -> bool {
 | 
						pub fn is_compare(self) -> bool {
 | 
				
			||||||
		matches!(
 | 
							matches!(
 | 
				
			||||||
			self,
 | 
								self,
 | 
				
			||||||
			Self::Eq_I32
 | 
								Self::Eq_I32
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user