diff --git a/src/calculate/mod.rs b/src/calculate/mod.rs index 236dfaf..ef38f23 100644 --- a/src/calculate/mod.rs +++ b/src/calculate/mod.rs @@ -6,7 +6,7 @@ mod pass_2; mod pass_3; mod pass_4; -use super::info::Info; +use crate::info::Info; use item::Item; #[derive(Serialize, Debug)] diff --git a/src/info.rs b/src/info.rs index 8341cac..1da77cd 100644 --- a/src/info.rs +++ b/src/info.rs @@ -1,6 +1,6 @@ use std::collections::BTreeMap; -use super::data_types; +use crate::data_types; pub trait Info { fn skills(&self) -> &BTreeMap; diff --git a/src/rust/info.rs b/src/rust/info.rs index d2ad1ca..9a3800e 100644 --- a/src/rust/info.rs +++ b/src/rust/info.rs @@ -1,10 +1,10 @@ use std::collections::{BTreeMap, HashMap}; use std::path::PathBuf; -use super::super::data_types; -use super::super::info::Info; use super::esf_data; use super::protobuf; +use crate::data_types; +use crate::info::Info; pub struct InfoMain { pub fit: data_types::EsfFit, diff --git a/src/wasm/mod.rs b/src/wasm/mod.rs index 905ec32..38c13f1 100644 --- a/src/wasm/mod.rs +++ b/src/wasm/mod.rs @@ -2,9 +2,9 @@ use serde_wasm_bindgen; use std::collections::BTreeMap; use wasm_bindgen::prelude::*; -use super::calculate; -use super::data_types; -use super::info::Info; +use crate::calculate; +use crate::data_types; +use crate::info::Info; #[wasm_bindgen] extern "C" {