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:
Rob Parrett 2023-02-21 02:36:05 +00:00
parent da8bf66cf8
commit 5bd1907517

View file

@ -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 {