Skip to content

Commit fc1be97

Browse files
committed
clippy - switch to implicit lifetime
1 parent 0600308 commit fc1be97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ impl Client<'_> {
2121
/// ```
2222
/// let client = podcast_api::Client::new(reqwest::Client::new(), None);
2323
/// ```
24-
pub fn new<'a>(client: reqwest::Client, id: Option<&'a str>) -> Client<'a> {
24+
pub fn new(client: reqwest::Client, id: Option<&str>) -> Client {
2525
Client {
2626
client,
2727
api: if let Some(id) = id {

0 commit comments

Comments
 (0)