Fix typo in generics document