You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jk...@apache.org on 2018/05/09 12:51:33 UTC

[thrift] branch master updated: Simplify the rust code generated by the generator (#1553)

This is an automated email from the ASF dual-hosted git repository.

jking pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git


The following commit(s) were added to refs/heads/master by this push:
     new 8672394  Simplify the rust code generated by the generator (#1553)
8672394 is described below

commit 8672394ade6a8b893491cb9e0a3334c5c10e0252
Author: McGradyDa <tr...@gmail.com>
AuthorDate: Wed May 9 20:51:31 2018 +0800

    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 df75d07..dce4288 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();

-- 
To stop receiving notification emails like this one, please contact
jking@apache.org.