mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-10-31 20:09:01 +00:00 
			
		
		
		
	refactor: Remove unnecessary AsAny trait
				
					
				
			This commit is contained in:
		
							parent
							
								
									fdfa707807
								
							
						
					
					
						commit
						091b7b2465
					
				
					 4 changed files with 4 additions and 56 deletions
				
			
		|  | @ -380,8 +380,4 @@ impl ProcMacroExpander for IdentityWhenValidProcMacroExpander { | |||
|             panic!("got invalid macro input: {:?}", parse.errors()); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     fn eq_dyn(&self, other: &dyn ProcMacroExpander) -> bool { | ||||
|         other.as_any().type_id() == std::any::TypeId::of::<Self>() | ||||
|     } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lukas Wirth
						Lukas Wirth