Skip to content

Commit

Permalink
replace use of super:: with crate::
Browse files Browse the repository at this point in the history
  • Loading branch information
thombruce committed Sep 30, 2023
1 parent 75e3048 commit 54da5f8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/camera.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use bevy::prelude::*;

use super::state::AppState;
use crate::state::AppState;

use super::Ship;
use crate::Ship;

pub struct CameraPlugin;
impl Plugin for CameraPlugin {
Expand Down
4 changes: 2 additions & 2 deletions src/hud.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use bevy::prelude::*;
use bevy_rapier2d::prelude::Velocity;

use super::state::AppState;
use crate::state::AppState;

use super::Ship;
use crate::Ship;

/// UI Speed component
#[derive(Component)]
Expand Down
2 changes: 1 addition & 1 deletion src/ship.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use bevy::prelude::*;
use bevy_rapier2d::prelude::*;
use leafwing_input_manager::prelude::*;

use super::state::AppState;
use crate::state::AppState;

#[derive(Actionlike, PartialEq, Eq, Clone, Copy, Hash, Debug, Reflect)]
pub enum ShipAction {
Expand Down

0 comments on commit 54da5f8

Please sign in to comment.