chore: Fix clippy lints (#881)

This commit is contained in:
tottoto
2022-01-12 16:32:40 -05:00
committed by GitHub
parent 4548997080
commit 366d888a4b
10 changed files with 17 additions and 20 deletions
+4
View File
@@ -7,6 +7,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.file_descriptor_set_path(&reflection_descriptor)
.type_attribute(
"ServerReflectionResponse.message_response",
"#[allow(clippy::enum_variant_names)]",
)
.build_server(true)
.build_client(true) // Client is only used for tests
.format(true)