remove unneeded PartialEq derive
This commit is contained in:
		
							parent
							
								
									375c97c95d
								
							
						
					
					
						commit
						663797e55b
					
				| @ -15,7 +15,7 @@ pub struct ItemId(u32); | ||||
| #[derive(Debug, Clone, PartialEq, Eq)] | ||||
| pub struct BankName(String); | ||||
| 
 | ||||
| #[derive(Clone, Debug, PartialEq)] | ||||
| #[derive(Clone, Debug)] | ||||
| pub enum ItemLocation { | ||||
|     Inventory { | ||||
|         character_id: CharacterEntityId, | ||||
| @ -96,13 +96,13 @@ impl ItemDetail { | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| #[derive(Clone, Debug, PartialEq)] | ||||
| #[derive(Clone, Debug)] | ||||
| pub struct NewItemEntity { | ||||
|     pub location: ItemLocation, | ||||
|     pub item: ItemDetail, | ||||
| } | ||||
| 
 | ||||
| #[derive(Clone, Debug, PartialEq)] | ||||
| #[derive(Clone, Debug)] | ||||
| pub struct ItemEntity { | ||||
|     pub id: ItemEntityId, | ||||
|     pub location: ItemLocation, | ||||
|  | ||||
| @ -14,8 +14,8 @@ use crate::entity::item::mag::Mag; | ||||
| use crate::entity::item::Meseta; | ||||
| 
 | ||||
| 
 | ||||
| #[derive(Debug, PartialEq)] | ||||
| pub enum ItemInstance { | ||||
| #[derive(Debug)] | ||||
| enum ItemInstance { | ||||
|     Individual(ItemEntity), | ||||
|     Stacked(Vec<ItemEntity>), | ||||
|     Meseta(Meseta), | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user