Skip to content

Commit

Permalink
Switched to specific imports as prefered by the style guide
Browse files Browse the repository at this point in the history
  • Loading branch information
SarthakSingh31 committed Sep 15, 2021
1 parent ccb3f12 commit e135d8d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/bevy_audio/src/audio_output.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::{Audio, AudioSource, Decodable};
use bevy_asset::{Asset, Assets};
use bevy_ecs::prelude::*;
use bevy_ecs::system::{NonSend, Res, ResMut};
use bevy_utils::tracing::warn;
use rodio::{OutputStream, OutputStreamHandle, Sink};
use std::marker::PhantomData;
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_gilrs/src/gilrs_system.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::converter::{convert_axis, convert_button, convert_gamepad_id};
use bevy_app::{EventWriter, Events};
use bevy_ecs::prelude::*;
use bevy_ecs::system::{NonSend, NonSendMut, ResMut};
use bevy_input::{gamepad::GamepadEventRaw, prelude::*};
use gilrs::{EventType, Gilrs};

Expand Down
7 changes: 6 additions & 1 deletion crates/bevy_winit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ pub use winit_config::*;
pub use winit_windows::*;

use bevy_app::{App, AppExit, CoreStage, Events, ManualEventReader, Plugin};
use bevy_ecs::prelude::*;
use bevy_ecs::{
event::EventWriter,
schedule::ParallelSystemDescriptorCoercion,
system::{Res, ResMut},
world::World,
};
use bevy_math::{ivec2, Vec2};
use bevy_utils::tracing::{error, trace, warn};
use bevy_window::{
Expand Down

0 comments on commit e135d8d

Please sign in to comment.