summaryrefslogtreecommitdiff
path: root/src/dump_as_rust.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-01-30 15:58:42 +0800
committerJohn Hodge <tpg@mutabah.net>2016-01-30 15:58:42 +0800
commit5481c481d9120732f447fc108a1cf86659fda579 (patch)
treecd7440e1d84efc1dd8398f5f305abfb0955b4045 /src/dump_as_rust.cpp
parente3cf598517bf45317df0891462d71fa0b20dd1b9 (diff)
downloadmrust-5481c481d9120732f447fc108a1cf86659fda579.tar.gz
Rename TypeParams to GenericParams
Diffstat (limited to 'src/dump_as_rust.cpp')
-rw-r--r--src/dump_as_rust.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dump_as_rust.cpp b/src/dump_as_rust.cpp
index f0355a6f..41043515 100644
--- a/src/dump_as_rust.cpp
+++ b/src/dump_as_rust.cpp
@@ -503,8 +503,8 @@ private:
m_os << ")";
}
- void print_params(const AST::TypeParams& params);
- void print_bounds(const AST::TypeParams& params);
+ void print_params(const AST::GenericParams& params);
+ void print_bounds(const AST::GenericParams& params);
void print_pattern(const AST::Pattern& p, bool is_refutable);
void print_type(const TypeRef& t);
@@ -642,7 +642,7 @@ void RustPrinter::handle_module(const AST::Module& mod)
}
}
-void RustPrinter::print_params(const AST::TypeParams& params)
+void RustPrinter::print_params(const AST::GenericParams& params)
{
if( params.ty_params().size() > 0 || params.lft_params().size() > 0 )
{
@@ -670,7 +670,7 @@ void RustPrinter::print_params(const AST::TypeParams& params)
}
}
-void RustPrinter::print_bounds(const AST::TypeParams& params)
+void RustPrinter::print_bounds(const AST::GenericParams& params)
{
if( params.bounds().size() )
{