Skip to content

Commit b089f30

Browse files
committed
compile_codegen: fix lint
1 parent 4a4f18b commit b089f30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/spirv-builder/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ fn invoke_rustc(builder: &SpirvBuilder) -> Result<PathBuf, SpirvBuilderError> {
953953

954954
let build = cargo
955955
.stderr(Stdio::inherit())
956-
.current_dir(&path_to_crate)
956+
.current_dir(path_to_crate)
957957
.output()
958958
.expect("failed to execute cargo build");
959959

crates/spirv-builder/src/watch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ impl SpirvBuilder {
4646
.expect("Could create watcher");
4747
// This is likely to notice changes in the `target` dir, however, given that `cargo watch` doesn't seem to handle that,
4848
watcher
49-
.watch(&path_to_crate, RecursiveMode::Recursive)
49+
.watch(path_to_crate, RecursiveMode::Recursive)
5050
.expect("Could watch crate root");
5151
loop {
5252
rx.recv().expect("Watcher still alive");

0 commit comments

Comments
 (0)