mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
Remove unused import warning when default_font feature is disabled (#10230)
# Objective - Fixes: ``` warning: unused import: `Handle` --> crates/bevy_text/src/lib.rs:31:28 | 31 | use bevy_asset::{AssetApp, Handle}; | ^^^^^^ | = note: `#[warn(unused_imports)]` on by default ``` ## Solution - Moved import to match feature.
This commit is contained in:
parent
d938275b9c
commit
b28525b772
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ pub mod prelude {
|
||||||
}
|
}
|
||||||
|
|
||||||
use bevy_app::prelude::*;
|
use bevy_app::prelude::*;
|
||||||
|
use bevy_asset::AssetApp;
|
||||||
#[cfg(feature = "default_font")]
|
#[cfg(feature = "default_font")]
|
||||||
use bevy_asset::load_internal_binary_asset;
|
use bevy_asset::{load_internal_binary_asset, Handle};
|
||||||
use bevy_asset::{AssetApp, Handle};
|
|
||||||
use bevy_ecs::prelude::*;
|
use bevy_ecs::prelude::*;
|
||||||
use bevy_render::{camera::CameraUpdateSystem, ExtractSchedule, RenderApp};
|
use bevy_render::{camera::CameraUpdateSystem, ExtractSchedule, RenderApp};
|
||||||
use bevy_sprite::SpriteSystem;
|
use bevy_sprite::SpriteSystem;
|
||||||
|
|
Loading…
Reference in a new issue