Go for it. My suspicion is that "much more compact" means less comments, since it will be hard to condense the math more than this. It's very complex to solve for an arbitrary rotation that maps one vector onto another. In this case, we can do it in 2D because we already know the other two rotations.