Skip to content

Commit

Permalink
refactor(client): remove unnecessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto committed Jan 14, 2024
1 parent 2bac1c9 commit a1b2724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/legacy/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ where
impl<C: Clone, B> Clone for Client<C, B> {
fn clone(&self) -> Client<C, B> {
Client {
config: self.config.clone(),
config: self.config,
exec: self.exec.clone(),
#[cfg(feature = "http1")]
h1_builder: self.h1_builder.clone(),
Expand Down

0 comments on commit a1b2724

Please sign in to comment.