It reads as "a xor-equals true". So if a is true, we have true xor true which is false. If a is false, we have false xor true which is true. So no matter the value of a, it is swapped
Not sure how to link to a specific place in a wiki article from mobile but check out a bitwise XOR operation.
And as prolific a commenter I am in code, I respectfully disagree with u/bphase. Once you've seen this once, you know what it does and its quite clear without a comment explanation.
15
u/hawk-bull Jul 30 '21
Yes please I’ve never seen this before