Skip to content

Commit

Permalink
Fix &str lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arlyon committed Mar 1, 2022
1 parent 9d0c524 commit 570a30a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resources/setup_intent_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub trait SetupIntentExt {
where
Self: Sized;

fn retrieve_ext(client: &Client, setup_intent_secret: &String) -> Response<Self>
fn retrieve_ext(client: &Client, setup_intent_secret: &str) -> Response<Self>
where
Self: Sized;
}
Expand All @@ -63,7 +63,7 @@ impl SetupIntentExt for SetupIntent {
unimplemented!()
}

fn retrieve_ext(_client: &Client, _setup_intent_secret: &String) -> Response<SetupIntent> {
fn retrieve_ext(_client: &Client, _setup_intent_secret: &str) -> Response<SetupIntent> {
unimplemented!()
//client.get(&format!("/setup_intents/{}", setup_intent_secret))
}
Expand Down

0 comments on commit 570a30a

Please sign in to comment.