Fix syntax error.

This commit is contained in:
Stephen Chung 2020-05-26 23:05:21 +08:00
parent b34d5fe3a1
commit 27c7cc4af7

View File

@ -2150,9 +2150,9 @@ fn run_builtin_op_assignment(
"*" => return Ok(Some(*x *= y)),
"/" => return Ok(Some(*x /= y)),
"%" => return Ok(Some(*x %= y)),
"~" => return Ok(Some(*x = pow_i_i_u(x, y))),
">>" => return Ok(Some(*x = shr_u(x, y))),
"<<" => return Ok(Some(*x = shl_u(x, y))),
"~" => return Ok(Some(*x = pow_i_i_u(*x, y)?)),
">>" => return Ok(Some(*x = shr_u(*x, y)?)),
"<<" => return Ok(Some(*x = shl_u(*x, y)?)),
_ => (),
}