From 8672394ade6a8b893491cb9e0a3334c5c10e0252 Mon Sep 17 00:00:00 2001 From: McGradyDa Date: Wed, 9 May 2018 20:51:31 +0800 Subject: [PATCH] Simplify the rust code generated by the generator (#1553) Client: rs --- compiler/cpp/src/thrift/generate/t_rs_generator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/cpp/src/thrift/generate/t_rs_generator.cc b/compiler/cpp/src/thrift/generate/t_rs_generator.cc index df75d075e..dce4288ad 100644 --- a/compiler/cpp/src/thrift/generate/t_rs_generator.cc +++ b/compiler/cpp/src/thrift/generate/t_rs_generator.cc @@ -2505,7 +2505,7 @@ void t_rs_generator::render_sync_processor_definition_and_impl(t_service *tservi indent_up(); f_gen_ << indent() << service_processor_name << " {" << endl; indent_up(); - f_gen_ << indent() << "handler: handler," << endl; + f_gen_ << indent() << "handler," << endl; indent_down(); f_gen_ << indent() << "}" << endl; indent_down();