Skip to content

Commit f00041a

Browse files
committed
Apply nightly clippy suggestions
1 parent 21bb42c commit f00041a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

librustls/build.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ fn main() {
3232
let pkg_version = env!("CARGO_PKG_VERSION");
3333
writeln!(
3434
&mut f,
35-
r#"const RUSTLS_FFI_VERSION: &str = "rustls-ffi/{}/rustls/{}/{}";"#,
36-
pkg_version, RUSTLS_CRATE_VERSION, rustls_crypto_provider
35+
r#"const RUSTLS_FFI_VERSION: &str = "rustls-ffi/{pkg_version}/rustls/{RUSTLS_CRATE_VERSION}/{rustls_crypto_provider}";"#,
3736
)
3837
.expect("Could not write file");
3938

0 commit comments

Comments
 (0)