Skip to content

Commit

Permalink
Implement Clone for the client
Browse files Browse the repository at this point in the history
  • Loading branch information
iddm committed May 14, 2024
1 parent 6c9b477 commit 150cda4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use reqwest::blocking::{Client, ClientBuilder};
use std::time::Duration;

/// Url shortener: the way to retrieve a short url.
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct UrlShortener {
client: Client,
}
Expand Down

0 comments on commit 150cda4

Please sign in to comment.