[doc] Fixed code example