Skip to content

Commit da8bf66

Browse files
committed
Remove unnecessary clippy allows (#7768)
# Objective I think that these allows are no longer necessary after #6534. ## Solution Let's remove them and see if clippy complains.
1 parent 03c5450 commit da8bf66

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

crates/bevy_ecs/src/world/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1763,8 +1763,6 @@ impl fmt::Debug for World {
17631763
}
17641764
}
17651765

1766-
// TODO: remove allow on lint - https://github.com/bevyengine/bevy/issues/3666
1767-
#[allow(clippy::non_send_fields_in_send_ty)]
17681766
// SAFETY: all methods on the world ensure that non-send resources are only accessible on the main thread
17691767
unsafe impl Send for World {}
17701768
// SAFETY: all methods on the world ensure that non-send resources are only accessible on the main thread

crates/bevy_ui/src/flex/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ pub struct FlexSurface {
2929
}
3030

3131
// SAFETY: as long as MeasureFunc is Send + Sync. https://github.com/DioxusLabs/taffy/issues/146
32-
// TODO: remove allow on lint - https://github.com/bevyengine/bevy/issues/3666
33-
#[allow(clippy::non_send_fields_in_send_ty)]
3432
unsafe impl Send for FlexSurface {}
3533
unsafe impl Sync for FlexSurface {}
3634

0 commit comments

Comments
 (0)