Reorder Imports in Examples (#1598)
This only affected 2 Examples: * `generic_reflection`: For some reason, a `pub use` statement was used. This was removed, and alphabetically ordered. * `wireframe`: This example used the `bevy_internal` crate directly. Changed to use `bevy` instead. All other Example Imports are correct. One potential subjective change is the `removel_detection` example. Unlike all other Examples, it has its (first) explanatory comment before the Imports.
This commit is contained in:
parent
9d60563adf
commit
8f363544ad
@ -1,5 +1,5 @@
|
|||||||
use bevy::prelude::*;
|
use bevy::{
|
||||||
use bevy_internal::{
|
prelude::*,
|
||||||
render::wireframe::{Wireframe, WireframeConfig, WireframePlugin},
|
render::wireframe::{Wireframe, WireframeConfig, WireframePlugin},
|
||||||
wgpu::{WgpuFeature, WgpuFeatures, WgpuOptions},
|
wgpu::{WgpuFeature, WgpuFeatures, WgpuOptions},
|
||||||
};
|
};
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
|
use bevy::{prelude::*, reflect::TypeRegistry};
|
||||||
use std::any::TypeId;
|
use std::any::TypeId;
|
||||||
|
|
||||||
pub use bevy::prelude::*;
|
|
||||||
use bevy::reflect::TypeRegistry;
|
|
||||||
|
|
||||||
/// You must manually register each instance of a generic type
|
/// You must manually register each instance of a generic type
|
||||||
fn main() {
|
fn main() {
|
||||||
App::build()
|
App::build()
|
||||||
|
Loading…
Reference in New Issue
Block a user