diff --git a/src/calc/entries/matrix.rs b/src/calc/entries/matrix.rs index 0eda68f..7cf6173 100644 --- a/src/calc/entries/matrix.rs +++ b/src/calc/entries/matrix.rs @@ -1,11 +1,8 @@ use super::{Entry, Number, Vector, VectorDirection}; -use crate::{ - calc::{ - errors::{CalculatorError, CalculatorResult}, - types::CalculatorAngleMode, - CalculatorDisplayMode, - }, - CalculatorEntry, +use crate::calc::{ + entries::CalculatorEntry, + errors::{CalculatorError, CalculatorResult}, + types::{CalculatorAngleMode, CalculatorDisplayMode}, }; use serde::{Deserialize, Serialize}; use std::fmt; diff --git a/src/calc/entries/number.rs b/src/calc/entries/number.rs index 586f8d5..d2eaca3 100644 --- a/src/calc/entries/number.rs +++ b/src/calc/entries/number.rs @@ -1,11 +1,8 @@ use super::{Entry, Matrix, Vector}; -use crate::{ - calc::{ - errors::{CalculatorError, CalculatorResult}, - types::CalculatorAngleMode, - CalculatorDisplayMode, - }, - CalculatorEntry, +use crate::calc::{ + entries::CalculatorEntry, + errors::{CalculatorError, CalculatorResult}, + types::{CalculatorAngleMode, CalculatorDisplayMode}, }; use serde::{Deserialize, Serialize}; use std::fmt; diff --git a/src/calc/entries/vector.rs b/src/calc/entries/vector.rs index 1f3fb40..6f01110 100644 --- a/src/calc/entries/vector.rs +++ b/src/calc/entries/vector.rs @@ -1,11 +1,8 @@ use super::{Entry, Matrix, Number}; -use crate::{ - calc::{ - errors::{CalculatorError, CalculatorResult}, - types::CalculatorAngleMode, - CalculatorDisplayMode, - }, - CalculatorEntry, +use crate::calc::{ + entries::CalculatorEntry, + errors::{CalculatorError, CalculatorResult}, + types::{CalculatorAngleMode, CalculatorDisplayMode}, }; use serde::{Deserialize, Serialize}; use std::fmt; diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..374e645 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,2 @@ +pub mod calc; +pub mod event;