From 54da5f85475a32c6929d25b8c14adb5892d90854 Mon Sep 17 00:00:00 2001 From: Thom Bruce Date: Sat, 30 Sep 2023 03:52:04 +0100 Subject: [PATCH] replace use of super:: with crate:: --- src/camera.rs | 4 ++-- src/hud.rs | 4 ++-- src/ship.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/camera.rs b/src/camera.rs index 91bb2cd..168ed53 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -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 { diff --git a/src/hud.rs b/src/hud.rs index ef352e2..d8dcfb5 100644 --- a/src/hud.rs +++ b/src/hud.rs @@ -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)] diff --git a/src/ship.rs b/src/ship.rs index db49ffe..26f1965 100644 --- a/src/ship.rs +++ b/src/ship.rs @@ -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 {