Fix record typo in types.rst