Skip to content

Commit

Permalink
ran cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hzargar2 committed Sep 5, 2023
1 parent c247bb0 commit a9bd65b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/resources/payment_intent_ext.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 1 addition & 3 deletions src/resources/price_ext.rs
Original file line number Diff line number Diff line change
@@ -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> {
Expand Down
2 changes: 1 addition & 1 deletion src/resources/product_ext.rs
Original file line number Diff line number Diff line change
@@ -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> {
Expand Down

0 comments on commit a9bd65b

Please sign in to comment.