when this documentation was re-written, it was done incorrectly. this corrects that and also removes \mathrm{}
also \mapsto is more correct than \rightarrow here