Fix syntax error in code snippet.