Skip to content

Commit

Permalink
removed as many warnings as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardTibben authored and kevin-pease committed May 3, 2024
1 parent 73434b5 commit 71cf826
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
9 changes: 3 additions & 6 deletions stellar_rust_sdk/src/order_book/details_request.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
use std::fmt::{self, Display, Formatter};

use derive_getters::Getters;

use crate::{models::Request, BuildQueryParametersExt};
use crate::{models::Request};

pub struct SellingAsset(AssetType);
pub struct NoSellingAsset;
Expand Down Expand Up @@ -160,7 +156,8 @@ impl Request for DetailsRequest<SellingAsset, BuyingAsset> {
}

mod tests {
use super::*;
use crate::models::Request;
use crate::order_book::prelude::{Asset, AssetType, DetailsRequest};

#[test]
fn test_details_request() {
Expand Down
6 changes: 2 additions & 4 deletions stellar_rust_sdk/src/order_book/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ pub mod prelude {
}

pub mod tests {
use crate::{
horizon_client,
order_book::prelude::{Asset, AssetType, DetailsRequest},
};
use crate::horizon_client;
use crate::order_book::prelude::{Asset, AssetType, DetailsRequest};

#[tokio::test]
async fn get_order_bookdetails() {
Expand Down

0 comments on commit 71cf826

Please sign in to comment.