rust format

Signed-off-by: goenning <me@goenning.net>
pull/2430/head
goenning 5 months ago
parent a6ef17d647
commit 8c91d20b60
No known key found for this signature in database
GPG Key ID: 853BA56FC914ED48

@ -242,7 +242,10 @@ impl UpdaterBuilder {
self
}
pub fn on_before_request<F: Fn(ClientBuilder) -> ClientBuilder + Send + Sync + 'static>(mut self, f: F) -> Self {
pub fn on_before_request<F: Fn(ClientBuilder) -> ClientBuilder + Send + Sync + 'static>(
mut self,
f: F,
) -> Self {
self.on_before_request.replace(Arc::new(f));
self
}

Loading…
Cancel
Save