
Hiya! # Objective - Remove upcasting methods that are no longer necessary since Rust 1.86. - Cleanup the interned label code. ## Notes - I didn't try to remove the upcasting methods from `bevy_reflect`, as there appears to be some complexity related to remote type reflection. - There are likely some other upcasting methods floating around. ## Testing I ran the `breakout` example to check that the hashing/eq implementations of the labels are still correct. --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
353 B
353 B
title | pull_requests | |
---|---|---|
Interned labels cleanup |
|
DynEq::as_any
has been removed. Use&value as &dyn Any
instead.DynHash::as_dyn_eq
has been removed. Use&value as &dyn DynEq
instead.as_dyn_eq
has been removed from 'label' types such asScheduleLabel
andSystemSet
. CallDynEq::dyn_eq
directly on the label instead.