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:
MinerSebas 2023-02-02 15:09:06 +00:00
parent fbd569c791
commit 1a18ab34c4

View file

@ -116,10 +116,7 @@ where
marker: PhantomData<fn() -> T>,
}
// FIXME: Default is only needed because `Handle`'s field `handle_type` is currently ignored for reflection
#[derive(Default)]
enum HandleType {
#[default]
Weak,
Strong(Sender<RefChange>),
}