Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit a557828

Browse files
committed
Remove needless borrow errors
Signed-off-by: Andrea Gunderson <[email protected]>
1 parent a98e77f commit a557828

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdks/rust/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ fn main() {
5757
.expect("Unable to write mod file");
5858

5959
protoc_rust::Codegen::new()
60-
.out_dir(&dest_path.to_str().expect("Invalid proto destination path"))
60+
.out_dir(dest_path.to_str().expect("Invalid proto destination path"))
6161
.inputs(
6262
&proto_src_files
6363
.iter()
6464
.map(|a| a.as_ref())
6565
.collect::<Vec<&str>>(),
6666
)
67-
.includes(&["src", "protos"])
67+
.includes(["src", "protos"])
6868
.customize(Customize::default())
6969
.run()
7070
.expect("unable to run protoc");

0 commit comments

Comments
 (0)