Remove typos in code example
Merge pull request #1877 from cloke/master

Remove typos in documents