Closed SpecificProtagonist closed 4 years ago
Thanks for pointing this out.
Is there any reason for this that I've missed?
Not that I can see. In fact, it doesn't appear to be required in the commit where it was introduced, so I guess I must've added it for some reason but found a cleaner way to do things and forgot to remove the requirement from the trait.
In any case, looks good, merged.
Implementing ObjectID requires Default. However, a default entity usually doesn't make any sense.
specs::Entity
orhecs::Entity
, for example, don't implement Default for this reason and therefore can't be used. Luckily, it seems like this requirement can simply be removed.Is there any reason for this that I've missed?