Skip to content

Commit 2c4d2fc

Browse files
committed
refactor(client): remove unnecessary clone
1 parent 1fc0bc6 commit 2c4d2fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/legacy/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ where
624624
impl<C: Clone, B> Clone for Client<C, B> {
625625
fn clone(&self) -> Client<C, B> {
626626
Client {
627-
config: self.config.clone(),
627+
config: self.config,
628628
exec: self.exec.clone(),
629629
#[cfg(feature = "http1")]
630630
h1_builder: self.h1_builder.clone(),

0 commit comments

Comments
 (0)