From 8c91d20b609440afeeb08054f77ace0012d049f6 Mon Sep 17 00:00:00 2001 From: goenning Date: Sun, 16 Feb 2025 15:21:07 +0000 Subject: [PATCH] rust format Signed-off-by: goenning --- plugins/updater/src/updater.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/updater/src/updater.rs b/plugins/updater/src/updater.rs index d9531938..bd3b6d80 100644 --- a/plugins/updater/src/updater.rs +++ b/plugins/updater/src/updater.rs @@ -242,7 +242,10 @@ impl UpdaterBuilder { self } - pub fn on_before_request ClientBuilder + Send + Sync + 'static>(mut self, f: F) -> Self { + pub fn on_before_request ClientBuilder + Send + Sync + 'static>( + mut self, + f: F, + ) -> Self { self.on_before_request.replace(Arc::new(f)); self }