diff --git a/src/printer/relay_text_printer.cc b/src/printer/relay_text_printer.cc index ee95c210ecf8..c771626f4e40 100644 --- a/src/printer/relay_text_printer.cc +++ b/src/printer/relay_text_printer.cc @@ -367,11 +367,7 @@ Doc RelayTextPrinter::VisitExpr_(const LetNode* op) { Doc doc; Expr let = GetRef(op); while (auto let_node = let.as()) { - doc << "let " - << AllocVar(let_node->var) - << " = " - << Print(let_node->value, false, true) - << ";" + doc << "let " << AllocVar(let_node->var) << " = " << Print(let_node->value, false, true) << ";" << Doc::NewLine(); let = let_node->body; }