From e9ccfc288fc1a73876d5e3050214e8d39cc15fec Mon Sep 17 00:00:00 2001 From: John Hodge Date: Mon, 8 Aug 2016 17:32:10 +0800 Subject: HIR Expand UFCS - (minor) Remove unneeded commented code --- src/hir_expand/ufcs_everything.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hir_expand/ufcs_everything.cpp b/src/hir_expand/ufcs_everything.cpp index 30e1d531..dbbf0b3e 100644 --- a/src/hir_expand/ufcs_everything.cpp +++ b/src/hir_expand/ufcs_everything.cpp @@ -122,7 +122,6 @@ namespace { } auto self_arg_type = node.m_value->m_res_type.clone(); - //auto ret_type = node.m_res_type.clone(); // Construct argument list for the output ::std::vector< ::HIR::ExprNodeP> args; args.reserve( 1 + node.m_args.size() ); @@ -139,7 +138,6 @@ namespace { arg_types.push_back( mv$(self_arg_type) ); for(auto& ty : node.m_arg_types) arg_types.push_back( mv$(ty) ); - //arg_types.push_back( mv$(ret_type) ); } void visit(::HIR::ExprNode_CallMethod& node) override { -- cgit v1.2.3