From e45fe0111e1487b0ea66719a9f278c21deefc0c8 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Fri, 6 Sep 2024 14:11:25 +0200 Subject: [PATCH] update: Rename to change_input_to_rev --- src/update.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/update.rs b/src/update.rs index 06a5213..63fa224 100644 --- a/src/update.rs +++ b/src/update.rs @@ -36,7 +36,7 @@ impl Updater { let inputs = self.inputs.clone(); if let Some(input) = inputs.get(self.get_index(id)) { tracing::debug!("Input: {:?}", input); - self.change_input(input, rev); + self.change_input_to_rev(input, rev); } } /// Update all inputs to a specific semver release, @@ -69,7 +69,7 @@ impl Updater { /// Change a specific input to a specific rev. /// TODO: proper error handling - pub fn change_input(&mut self, input: &UpdateInput, rev: &str) { + pub fn change_input_to_rev(&mut self, input: &UpdateInput, rev: &str) { let uri = self.get_input_text(input); match uri.parse::() { Ok(mut parsed) => {