[doc] Fix typo in code sample