From 0498221bede0cdffee5f35949b69085ba0b017b0 Mon Sep 17 00:00:00 2001 From: Shawn Blakesley Date: Sat, 1 Apr 2023 13:07:05 -0700 Subject: [PATCH] Remove Duplicate Comma This seems to be generating a duplicate comma for me. Tried it out locally with a service that has more than one rpc, and this change fixed it. Haven't done thorough testing yet. --- src/service_gen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service_gen.rs b/src/service_gen.rs index cfcbfe0..007cf4e 100644 --- a/src/service_gen.rs +++ b/src/service_gen.rs @@ -179,7 +179,7 @@ impl TwirpServiceGenerator { #mod_path::ProstTwirpError>> + Send + 'static>> { let static_service = ::std::sync::Arc::clone(&self.0); match req.uri().path() { - #(#match_arms),* + #(#match_arms)* _ => Box::pin(::futures::future::ok( #mod_path::ProstTwirpError::NotFound.into_hyper_response().unwrap() ))