From 0ff4dda89cdedf75f039a05e4afd18c8ff4a699a Mon Sep 17 00:00:00 2001 From: Night_Hunter Date: Tue, 10 Dec 2024 18:17:38 +1300 Subject: [PATCH] fmt --- plugins/updater/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/updater/src/lib.rs b/plugins/updater/src/lib.rs index 11aa5d7b..f5045beb 100644 --- a/plugins/updater/src/lib.rs +++ b/plugins/updater/src/lib.rs @@ -172,7 +172,9 @@ impl Builder { self } - pub fn default_version_comparator bool + Send + Sync + 'static>( + pub fn default_version_comparator< + F: Fn(Version, RemoteRelease) -> bool + Send + Sync + 'static, + >( mut self, f: F, ) -> Self {