Remove unnecessary clone of config

This commit is contained in:
Kitaiti Makoto 2022-05-04 04:40:16 +09:00
parent 4529b929d8
commit 0404528908

View file

@ -132,7 +132,7 @@ where
.sign(sender)
.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)
} else {
ClientBuilder::new()