chore: some linting

This commit is contained in:
alterware
2025-07-03 10:27:52 +02:00
parent 27795f6680
commit 2dab50111b
6 changed files with 17 additions and 17 deletions

View File

@@ -66,7 +66,7 @@ pub async fn latest_version(
let tag = latest_tag(owner, repo, prerelease).await?;
let cleaned_tag = tag.replace('v', "");
Version::parse(&cleaned_tag)
.map_err(|e| format!("Failed to parse version '{}': {}", cleaned_tag, e).into())
.map_err(|e| format!("Failed to parse version '{cleaned_tag}': {e}").into())
}
pub fn download_url(owner: &str, repo: &str, tag: Option<&str>) -> String {