Closed dtolnay closed 1 month ago
Printing Expr::Let at the start of a statement would cause it to be interpreted as Stmt::Local. This PR causes parentheses to be inserted in that scenario to preserve the Expr::Let.
Printing Expr::Let at the start of a statement would cause it to be interpreted as Stmt::Local. This PR causes parentheses to be inserted in that scenario to preserve the Expr::Let.