Skip to content

Commit 59f2a2c

Browse files
KDecayjames7132
KDecay
authored andcommitted
Remove redundant Size import (bevyengine#5339)
# Objective - Fixes bevyengine#5338 - Allow the usage of `use bevy::ui::Size` (see migration guide in bevyengine#4285) ## Solution - Remove the `use crate::Size` import so that the `pub use geometry::*` import also publicly uses the `Size` struct.
1 parent 25b357f commit 59f2a2c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/bevy_ui/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ pub mod prelude {
2525
pub use crate::{entity::*, geometry::*, ui_node::*, widget::Button, Interaction};
2626
}
2727

28-
use crate::Size;
2928
use bevy_app::prelude::*;
3029
use bevy_ecs::schedule::{ParallelSystemDescriptorCoercion, SystemLabel};
3130
use bevy_input::InputSystem;

0 commit comments

Comments
 (0)