Fix typo in code snippet