Skip to content

Commit ca4a6b9

Browse files
committed
Fix clippy warnings
1 parent da9cbd7 commit ca4a6b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/package_version.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ pub fn pre_commit_repo(hook: &PreCommitHook) -> String {
197197
}
198198

199199
fn get_latest_python_version(name: &str) -> Result<String> {
200-
let url = format!("https://pypi.org/pypi/{}/json", name);
200+
let url = format!("https://pypi.org/pypi/{name}/json");
201201
let client = reqwest::blocking::Client::new();
202202
let attempts = 3;
203203
let min = Duration::from_millis(100); // 10ms

0 commit comments

Comments
 (0)