Add OpAssignment::new_from_token.

This commit is contained in:
Stephen Chung
2021-12-17 16:55:24 +08:00
parent 8d67c70294
commit dc6896fbe2
5 changed files with 23 additions and 17 deletions

View File

@@ -1716,7 +1716,7 @@ fn make_assignment_stmt(
}
}
let op_info = op.map(OpAssignment::new);
let op_info = op.map(OpAssignment::new_from_token);
match lhs {
// const_expr = rhs