From ddd2e1bbabef6b0a41a9823af26a04286801588f Mon Sep 17 00:00:00 2001 From: FabianLars Date: Mon, 16 Oct 2023 19:04:41 +0200 Subject: [PATCH] fmt --- 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 35ff06ea..99db57ac 100644 --- a/plugins/updater/src/updater.rs +++ b/plugins/updater/src/updater.rs @@ -259,7 +259,10 @@ impl Updater { let url: Url = url .to_string() // url::Url automatically url-encodes the string - .replace("%7B%7Bcurrent_version%7D%7D", &self.current_version.to_string()) + .replace( + "%7B%7Bcurrent_version%7D%7D", + &self.current_version.to_string(), + ) .replace("%7B%7Btarget%7D%7D", &self.target) .replace("%7B%7Barch%7D%7D", self.arch) .parse()?;