[doc] fix typo in code example.