Fix whenRight documentation