Skip to content

Commit

Permalink
Fix "needless_borrows_for_generic_args" compiler warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Shawn T. Amundson <[email protected]>
  • Loading branch information
vaporos committed Jan 8, 2024
1 parent a9f0a6f commit f45c5fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libsplinter/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ fn main() {
.expect("Unable to write mod file");

protoc_rust::Codegen::new()
.out_dir(&dest_path.to_str().expect("Invalid proto destination path"))
.out_dir(dest_path.to_str().expect("Invalid proto destination path"))
.inputs(
&proto_src_files
.iter()
.map(|a| a.as_ref())
.collect::<Vec<&str>>(),
)
.includes(&["src", "protos"])
.includes(["src", "protos"])
.customize(Customize::default())
.run()
.expect("unable to run protoc");
Expand Down

0 comments on commit f45c5fe

Please sign in to comment.