Skip to content

Commit

Permalink
chore: fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dekobon committed Apr 1, 2024
1 parent 1c934c4 commit 2555911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ fn pcre_archive_url(version: &String) -> String {

fn openssl_archive_url(version: &String) -> String {
if version.starts_with("1.1.1") {
let version_hyphened = version.replace(".", "_");
let version_hyphened = version.replace('.', "_");
format!("{OPENSSL_DOWNLOAD_URL_PREFIX}/OpenSSL_{version_hyphened}/openssl-{version}.tar.gz")
} else {
format!("{OPENSSL_DOWNLOAD_URL_PREFIX}/openssl-{version}/openssl-{version}.tar.gz")
Expand Down

0 comments on commit 2555911

Please sign in to comment.