diff options
author | John Hodge <tpg@mutabah.net> | 2016-08-08 17:32:10 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-08-08 17:32:10 +0800 |
commit | e9ccfc288fc1a73876d5e3050214e8d39cc15fec (patch) | |
tree | 8964467f128657f2645c90caa6120bc80d8b92de | |
parent | 1c0b0547f24ccd8a2b8bc619879cb39fcaf612f9 (diff) | |
download | mrust-e9ccfc288fc1a73876d5e3050214e8d39cc15fec.tar.gz |
HIR Expand UFCS - (minor) Remove unneeded commented code
-rw-r--r-- | src/hir_expand/ufcs_everything.cpp | 2 |
1 files changed, 0 insertions, 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 { |