diff --git a/crates/bevy_ecs/src/world/mod.rs b/crates/bevy_ecs/src/world/mod.rs index e52fa59c8c..0f78884e16 100644 --- a/crates/bevy_ecs/src/world/mod.rs +++ b/crates/bevy_ecs/src/world/mod.rs @@ -1763,8 +1763,6 @@ impl fmt::Debug for World { } } -// TODO: remove allow on lint - https://github.com/bevyengine/bevy/issues/3666 -#[allow(clippy::non_send_fields_in_send_ty)] // SAFETY: all methods on the world ensure that non-send resources are only accessible on the main thread unsafe impl Send for World {} // SAFETY: all methods on the world ensure that non-send resources are only accessible on the main thread diff --git a/crates/bevy_ui/src/flex/mod.rs b/crates/bevy_ui/src/flex/mod.rs index d48d6a0f3b..d7aff844eb 100644 --- a/crates/bevy_ui/src/flex/mod.rs +++ b/crates/bevy_ui/src/flex/mod.rs @@ -29,8 +29,6 @@ pub struct FlexSurface { } // SAFETY: as long as MeasureFunc is Send + Sync. https://github.com/DioxusLabs/taffy/issues/146 -// TODO: remove allow on lint - https://github.com/bevyengine/bevy/issues/3666 -#[allow(clippy::non_send_fields_in_send_ty)] unsafe impl Send for FlexSurface {} unsafe impl Sync for FlexSurface {}