Fix typo in the doc examples

(cherry picked from commit a550b90d6d4eda70a4e26f696eb4a216625813ff)