Skip to content

Commit fd5da3c

Browse files
committed
appease clippy
1 parent af15805 commit fd5da3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/cargo-gpu/src/install.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ package = "rustc_codegen_spirv"
208208
.manifest_path
209209
.as_std_path()
210210
.parent()
211-
.and_then(|p| {
212-
let src = p.join("target-specs");
211+
.and_then(|root| {
212+
let src = root.join("target-specs");
213213
src.is_dir().then_some(src)
214214
})
215215
.context("Could not find `target-specs` directory within `rustc_codegen_spirv-target-specs` dependency")?;

0 commit comments

Comments
 (0)