[doc] Corrected typo in example code