Fix clippy: Derive Eq for Mention
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
		
							parent
							
								
									eaea2a50bd
								
							
						
					
					
						commit
						e3539a46ba
					
				| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
use serde::{Deserialize, Serialize};
 | 
			
		||||
 | 
			
		||||
/// Represents a `mention` used in a status
 | 
			
		||||
#[derive(Debug, Clone, PartialEq, Deserialize, Serialize)]
 | 
			
		||||
#[derive(Debug, Clone, PartialEq, Eq, Deserialize, Serialize)]
 | 
			
		||||
pub struct Mention {
 | 
			
		||||
    /// URL of user's profile (can be remote)
 | 
			
		||||
    pub url: String,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue