Fix typo

Minor typo in both code and the generated doc