Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
icemelon committed Jun 11, 2020
1 parent 504092e commit 06ae06d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/printer/relay_text_printer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -367,11 +367,7 @@ Doc RelayTextPrinter::VisitExpr_(const LetNode* op) {
Doc doc;
Expr let = GetRef<Let>(op);
while (auto let_node = let.as<LetNode>()) {
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;
}
Expand Down

0 comments on commit 06ae06d

Please sign in to comment.