From a9bd65b6029f52c3373fb52b677a1f676a511bca Mon Sep 17 00:00:00 2001 From: hzargar2 Date: Mon, 24 Jul 2023 16:23:58 -0400 Subject: [PATCH] ran cargo fmt --- src/resources/payment_intent_ext.rs | 2 +- src/resources/price_ext.rs | 4 +--- src/resources/product_ext.rs | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/resources/payment_intent_ext.rs b/src/resources/payment_intent_ext.rs index d6ce7cdd0..4f18679dc 100644 --- a/src/resources/payment_intent_ext.rs +++ b/src/resources/payment_intent_ext.rs @@ -1,9 +1,9 @@ use serde::{Deserialize, Serialize}; -use crate::{PaymentIntent, PaymentIntentCancellationReason}; use crate::client::{Client, Response}; use crate::params::{Expandable, Metadata, SearchList}; use crate::resources::{Currency, PaymentSource, Shipping}; +use crate::{PaymentIntent, PaymentIntentCancellationReason}; impl PaymentIntent { /// Confirm that customer intends to pay with current or provided source. Upon confirmation, the PaymentIntent will attempt to initiate a payment. diff --git a/src/resources/price_ext.rs b/src/resources/price_ext.rs index 0cc36cf1a..549943697 100644 --- a/src/resources/price_ext.rs +++ b/src/resources/price_ext.rs @@ -1,9 +1,7 @@ use serde::Serialize; -use crate::{ - Client, Price, Response, -}; use crate::params::SearchList; +use crate::{Client, Price, Response}; #[derive(Clone, Debug, Default, Serialize)] pub struct PriceSearchParams<'a> { diff --git a/src/resources/product_ext.rs b/src/resources/product_ext.rs index 23a62dc82..7c50edadf 100644 --- a/src/resources/product_ext.rs +++ b/src/resources/product_ext.rs @@ -1,7 +1,7 @@ use serde::Serialize; -use crate::{Client, Product, Response}; use crate::params::SearchList; +use crate::{Client, Product, Response}; #[derive(Clone, Debug, Default, Serialize)] pub struct ProductSearchParams<'a> {