We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6ef17d commit a1f4841Copy full SHA for a1f4841
plugins/updater/src/updater.rs
@@ -242,7 +242,10 @@ impl UpdaterBuilder {
242
self
243
}
244
245
- 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>(
246
+ mut self,
247
+ f: F,
248
+ ) -> Self {
249
self.on_before_request.replace(Arc::new(f));
250
251
0 commit comments