mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
Re-enable taffy send+sync assert (#7769)
# Objective Fix up a `FIXME` comment ## Solution It looks like the linked issue has been resolved and we can re-enable the "assertion."
This commit is contained in:
parent
da8bf66cf8
commit
5bd1907517
1 changed files with 1 additions and 2 deletions
|
@ -35,8 +35,7 @@ unsafe impl Sync for FlexSurface {}
|
|||
fn _assert_send_sync_flex_surface_impl_safe() {
|
||||
fn _assert_send_sync<T: Send + Sync>() {}
|
||||
_assert_send_sync::<HashMap<Entity, taffy::node::Node>>();
|
||||
// FIXME https://github.com/DioxusLabs/taffy/issues/146
|
||||
// _assert_send_sync::<Taffy>();
|
||||
_assert_send_sync::<Taffy>();
|
||||
}
|
||||
|
||||
impl fmt::Debug for FlexSurface {
|
||||
|
|
Loading…
Reference in a new issue