Skip to content

Commit 5f39327

Browse files
committed
style: fix clippy format string warnings
1 parent 7c7435f commit 5f39327

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fn main() {
77
// Build the Swift bridge
88
let swift_dir = "swift-bridge";
99
let out_dir = env::var("OUT_DIR").unwrap();
10-
let swift_build_dir = format!("{}/swift-build", out_dir);
10+
let swift_build_dir = format!("{out_dir}/swift-build");
1111

1212
println!("cargo:rerun-if-changed={swift_dir}");
1313

@@ -41,7 +41,7 @@ fn main() {
4141
}
4242

4343
// Link the Swift library from OUT_DIR
44-
println!("cargo:rustc-link-search=native={}/release", swift_build_dir);
44+
println!("cargo:rustc-link-search=native={swift_build_dir}/release");
4545
println!("cargo:rustc-link-lib=static=ScreenCaptureKitBridge");
4646

4747
// Link required frameworks

0 commit comments

Comments
 (0)