Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gate an import used only for a debug assert (#7165)
# Objective - There is a warning when building in release: ``` warning: unused import: `bevy_ecs::system::Local` --> crates/bevy_render/src/extract_resource.rs:5:5 | 5 | use bevy_ecs::system::Local; | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default ``` - It's used https://github.com/bevyengine/bevy/blob/59751d6e33d94eff6e1fc20c9ae155974b3860b1/crates/bevy_render/src/extract_resource.rs#L47 - Fix it ## Solution - Gate the import - repeat of #5320
- Loading branch information