clean up some clippy warnings

This commit is contained in:
Scott Lamb
2023-01-28 11:59:21 -08:00
parent 3965cbc547
commit 284a59b05e
18 changed files with 82 additions and 41 deletions

View File

@@ -6,7 +6,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
Ok(protobuf_codegen::Codegen::new()
.pure()
.out_dir(std::env::var("OUT_DIR")?)
.inputs(&["proto/schema.proto"])
.inputs(["proto/schema.proto"])
.include("proto")
.customize(protobuf_codegen::Customize::default().gen_mod_rs(true))
.run()?)