From 846553099a39b21815e82ca753bb2d39de08a692 Mon Sep 17 00:00:00 2001 From: Alex Ostrovski Date: Tue, 28 Nov 2023 12:25:03 +0200 Subject: [PATCH] Fix clippy lint --- node/libs/protobuf_build/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/libs/protobuf_build/src/lib.rs b/node/libs/protobuf_build/src/lib.rs index e6e384cf..0df0b8c5 100644 --- a/node/libs/protobuf_build/src/lib.rs +++ b/node/libs/protobuf_build/src/lib.rs @@ -299,7 +299,7 @@ impl Config { .context("prepare_output_dir()")?; let output_path = output_dir.join("gen.rs"); let descriptor_path = output_dir.join("gen.binpb"); - fs::write(&descriptor_path, &descriptor.encode_to_vec())?; + fs::write(&descriptor_path, descriptor.encode_to_vec())?; if self.is_public { let manifest = Manifest {