Fix typo in generics documentation