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:
MinerSebas 2021-03-09 01:07:01 +00:00
parent 9d60563adf
commit 8f363544ad
2 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,5 @@
use bevy::prelude::*;
use bevy_internal::{
use bevy::{
prelude::*,
render::wireframe::{Wireframe, WireframeConfig, WireframePlugin},
wgpu::{WgpuFeature, WgpuFeatures, WgpuOptions},
};

View File

@ -1,8 +1,6 @@
use bevy::{prelude::*, reflect::TypeRegistry};
use std::any::TypeId;
pub use bevy::prelude::*;
use bevy::reflect::TypeRegistry;
/// You must manually register each instance of a generic type
fn main() {
App::build()