diff options
Diffstat (limited to 'src/dump_as_rust.cpp')
-rw-r--r-- | src/dump_as_rust.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dump_as_rust.cpp b/src/dump_as_rust.cpp index bac9d104..45c5df5d 100644 --- a/src/dump_as_rust.cpp +++ b/src/dump_as_rust.cpp @@ -636,7 +636,7 @@ void RustPrinter::handle_module(const AST::Module& mod) m_os << "\n"; m_os << indent() << "impl"; print_params(i.params()); - if( i.trait() != TypeRef() ) + if( !(i.trait() == AST::Path()) ) { m_os << " " << i.trait() << " for"; } |