Remove unnecessary clone of config
This commit is contained in:
parent
4529b929d8
commit
0404528908
@ -132,7 +132,7 @@ where
|
|||||||
.sign(sender)
|
.sign(sender)
|
||||||
.expect("activity_pub::broadcast: signature error");
|
.expect("activity_pub::broadcast: signature error");
|
||||||
|
|
||||||
let client = if let Some(proxy) = proxy.clone() {
|
let client = if let Some(proxy) = proxy {
|
||||||
ClientBuilder::new().proxy(proxy)
|
ClientBuilder::new().proxy(proxy)
|
||||||
} else {
|
} else {
|
||||||
ClientBuilder::new()
|
ClientBuilder::new()
|
||||||
|
Loading…
Reference in New Issue
Block a user