From c8703347c0c1536bf22cef6a206ee311c865ad81 Mon Sep 17 00:00:00 2001 From: Malik672 Date: Sat, 30 Dec 2023 16:00:52 +0100 Subject: [PATCH] fix linter --- src/entities/currency.rs | 1 - src/entities/fractions/price.rs | 2 +- src/lib.rs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/entities/currency.rs b/src/entities/currency.rs index eb9e0ee..9e49e79 100644 --- a/src/entities/currency.rs +++ b/src/entities/currency.rs @@ -1,6 +1,5 @@ use crate::prelude::*; - #[derive(Clone, PartialEq)] pub enum Currency { NativeCurrency(Ether), diff --git a/src/entities/fractions/price.rs b/src/entities/fractions/price.rs index 9f49d66..92fce9d 100644 --- a/src/entities/fractions/price.rs +++ b/src/entities/fractions/price.rs @@ -1,5 +1,5 @@ // External crate dependencies -use crate::prelude::*; +use crate::prelude::*; // Type alias for a Price, a Fraction with metadata PriceMeta pub type Price = FractionLike>; diff --git a/src/lib.rs b/src/lib.rs index 66367af..1285d00 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,5 +2,5 @@ pub mod addresses; pub mod chains; pub mod constants; pub mod entities; +pub mod prelude; pub mod utils; -pub mod prelude; \ No newline at end of file