Remove unnecessary Default impl of HandleType (#7472)
				
					
				
			# Objective - Resolve a Fixme to remove the `Default` impl for `HandleType`, once Reflection no longer requires it. - Presumebly this Comment was made before the `FromReflect` Derive used the `#[reflect(Default)]`, to substitute for the requirment that a ignored field has a `Default`. ## Solution - Just remove the `Default` derive and comment.
This commit is contained in:
		
							parent
							
								
									fbd569c791
								
							
						
					
					
						commit
						1a18ab34c4
					
				| @ -116,10 +116,7 @@ where | |||||||
|     marker: PhantomData<fn() -> T>, |     marker: PhantomData<fn() -> T>, | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // FIXME: Default is only needed because `Handle`'s field `handle_type` is currently ignored for reflection
 |  | ||||||
| #[derive(Default)] |  | ||||||
| enum HandleType { | enum HandleType { | ||||||
|     #[default] |  | ||||||
|     Weak, |     Weak, | ||||||
|     Strong(Sender<RefChange>), |     Strong(Sender<RefChange>), | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 MinerSebas
						MinerSebas